r/ASPNET • • Jul 14 '13

New to .net

5 Upvotes

Hey guys I need to start programming with asp.net for this internship i'm signing up for.I know to program using java,javascript,php,c,c++.It would be great if you could give me a source to learn from and tell me how long you'd think it would take


r/ASPNET • • Mar 01 '13

JetBrains .NET Tools Blog » AngularJS support for ReSharper

Thumbnail
blogs.jetbrains.com
2 Upvotes

r/ASPNET • • Nov 15 '13

Geotagging in ASP.NET - Resources and attn. programmers with experience

2 Upvotes

Does anyone know of a great place to pull existing geotagging code from on the net for ASP.NET, or know anyone proficient in programming this in ASP? We are hiring someone to update this portion of our site and make the geotagging area sleeker, so please PM or comment if your interested. Thanks.


r/ASPNET • • Oct 11 '08

Keys To Web 3.0 Design and Development When Using ASP.NET

Thumbnail
jondavis.net
2 Upvotes

r/ASPNET • • Feb 18 '13

Service for easy deployment of ASP.NET apps to your server, Azure or AWS

6 Upvotes

Hey guys,

We've just launched Appveyor - a new deployment automation service for ASP.NET apps and I'd love to get your feedback!

Service highlights:

  • Easier to setup and use than Web Deploy

  • Deploy ASP.NET, MVC apps with SQL Server databases

  • Deployment process can be extended with PowerShell

  • Built-in provisioning of IIS websites, DNS and SSL

Thanks, Feodor


r/ASPNET • • Jun 02 '09

Automatically minify and combine JavaScript in Visual Studio

Thumbnail encosia.com
3 Upvotes

r/ASPNET • • May 11 '09

Simple solutions are effective

Thumbnail sourceforge.net
0 Upvotes

r/ASPNET • • Dec 03 '13

Streamlining .NET Development through One ASP.NET

Thumbnail
rionscode.wordpress.com
0 Upvotes

r/ASPNET • • Jul 13 '09

8 Advantages of ASP.NET over PHP

Thumbnail dev-the-web.com
0 Upvotes

r/ASPNET • • Dec 02 '13

Vote for throttling policy feature in ASP.NET Web API

Thumbnail
aspnet.uservoice.com
0 Upvotes

r/ASPNET • • Jul 15 '12

Dear Microsoft, Please Include Web Deployment Projects in Visual Studio 2012

Thumbnail
diaryofaninja.com
0 Upvotes

r/ASPNET • • Jul 16 '12

8 Step VB Scheduler Tutorial

Thumbnail
blog.scheduler-net.com
0 Upvotes

r/ASPNET • • Oct 07 '13

ASP.NET MVC: Configuring ASP.NET MVC 4 Membership with a SQL CE Database

Thumbnail
typecastexception.com
0 Upvotes

r/ASPNET • • Oct 27 '13

[Homework]Storing a SelectedDate inta a Arraylist

0 Upvotes

Hello

How do i store multiple selectedDate into an arraylist?

I want to store the selectedDate into an arrayList, but when i click on another Date it doesn't adds it to Arraylist it just overwrites the first one.

This is my code:

Protected Sub Calendar1_SelectionChanged(sender As Object, e As EventArgs) Handles kalender.SelectionChanged

    Dim SelDates As New ArrayList
    TheDate = calendar1.SelectedDate
    TheDate = TheDate .ToString

   SelDates.add(TheDate)

I want to a date to the arraylist everytime the user selects a new date.

Thank you


r/ASPNET • • Oct 25 '08

Escaping ASP.NET Tags in Code Smith Templates

Thumbnail professionalaspnet.com
0 Upvotes

r/ASPNET • • Nov 01 '13

TechDays 2013: ASP.NET [South African speaker]

Thumbnail
sadev.co.za
0 Upvotes

r/ASPNET • • Jun 15 '12

New here, getting my html pages to inherit my site.master page

0 Upvotes

any help would be much appreciated, I'm just learning ASP.NET and building a website for some real estate agency but i cant get these darn html pages to look like the master page if anyone can spare the time to share your ASP.NET wisdom.


r/ASPNET • • Jun 18 '12

Publishing ASP.NET MVC3 to GoDaddy issues

0 Upvotes

I have asked everyone I know and tried GoDaddy support, but no one seems to understand what the problem is.

Basically I created an MVC3 application (basic blog) using Entity Framework Code First. I published the application through FTP using what I believed to be the correct method.

I first right click on the project, then publish, and I do so locally to a folder on my desktop. I then FTPed these files into the correct folder on my server, which is set as an application root etc etc.

At first I was having issues with references not being available, but I was quickly able to find out how to fix those issues from others problems. (set copy local on specific references)

Right now I am getting the following error when I load the domain:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

My server is currently configured as ASP.NET 4 (same as application), IIS7, and the DB allows direct connections etc, all what GoDaddy wanted me to check.

As far as I know, my ConnectionString is correct, but here is the format in case it is not...

<add name="ApplicationServices" connectionString="Data Source={dbname}.db.1111111.hostedresource.com; Initial Catalog={dbname}; User ID={dbuser}; Password={password};" providerName="System.Data.SqlClient" />

A friend of mine is pretty well versed in ASP.NET and hosting projects and he too is having issues similar to this. He described it as the project somehow still pointing to a local DB like SQLExpress somewhere else in the application.

This issue is driving me nuts and GoDaddy doesn't seem to want to look into why it might be happening. I do know that MVC3 applications are able to run on their servers, it has to be something codewise that is wrong.

Thanks for the help!

(edit: took out the specific numbers in the connectionstring just incase those are personal)


r/ASPNET • • Oct 22 '08

Easy Dynamic Style Sheets in HMTL Pages using ASP.NET

Thumbnail
accidentaltechnologist.com
0 Upvotes

r/ASPNET • • Apr 12 '12

Had a question about design patterns in relation to ASP.NET. Can someone describe what is a design pattern and how is it implemented or used in ASP.NET?

0 Upvotes

I do freelancing web development work on the side using ASP.NET C# and SQL Server 2008. Recently I saw someone mention design patterns being used in developing websites. I don't recall where it was but I would like to learn more about design patterns and how to use it while developing websites in ASP.NET.

Can please someone shed some light on this matter? It would be very helpful of you. Thanks


r/ASPNET • • Apr 15 '12

can't get hyper link working in grid view control

0 Upvotes

For a project I am trying to use a hyper link field inside of an access 2010 database, which is being called upon by setting the database as a datasource and putting it into a grid view. it doesn't come up with an error but it shows the hyper link as #link# so it is not click able which is the main problem as I am trying to get it so when you click the title it redirects to a seperate web page.


r/ASPNET • • Jul 09 '13

ASP Classic App problem with new server and provider

0 Upvotes

Full page code here

This is a web app that is currently hosted on a Windows Server 2003 server and we are migrating it to a Server 2008 server as part of a move away from all of our Server 2003 servers. The current server uses the MSDAORA provider but as that is not supported in Server 2008 we are now using the oraOLEDB.Oracle provider and everything is fine except for a name field related to the get_name function and a related query.

Main problem area that I can see is this function here:

	function get_name(emp_nbr)
	sql3 = "select LTRIM(RTRIM(INITCAP(COMMON_NAME))) COMMON_NAME, LTRIM(RTRIM(INITCAP(LAST_NAME))) last_name from (select EMPLOYEE_NBR,COMMON_NAME, LAST_NAME  from hrit_admin.employee union all  select   CONTRACT_RESOURCE_ID, COMMON_NAME, LAST_NAME  from   hrit_admin.contract_resource) a where employee_nbr = a.employee_nbr and employee_nbr = " & emp_nbr
	rs3.open sql3,conn
	get_name = rs3("COMMON_NAME") & " " & rs3("LAST_NAME") 
	rs3.close
    end function  

When I output the query in the function as dynamic sql I get this:

select LTRIM(RTRIM(INITCAP(COMMON_NAME))) COMMON_NAME, LTRIM(RTRIM(INITCAP(LAST_NAME))) last_name from (select EMPLOYEE_NBR,COMMON_NAME, LAST_NAME from hrit_admin.employee union all select CONTRACT_RESOURCE_ID, COMMON_NAME, LAST_NAME from hrit_admin.contract_resource) a where employee_nbr = a.employee_nbr and employee_nbr =  

Which obviously is having a problem with emp_nbr, it doesn't have a value for it and as such is outputting nothing and breaking a field that uses get_name.

Any and all help would be greatly appreciated.


r/ASPNET • • Mar 14 '12

HTML5 Offline Web applications as an afterthought in ASP.NET MVC

Thumbnail
jclaes.blogspot.com
4 Upvotes

r/ASPNET • • Apr 27 '12

EntityDataSource incapable of handling table relationships/joins?

0 Upvotes

I'll be honest here. I'm completely new to ASP.NET and web development in general but I've come so far through so many random compiler errors, dodgy code, fucking SQL version problems and utter nonsense unhandled exceptions with no useful information that I'll be damned if I can't get something that seems so simple to work.

I'm doing a web dev course at the moment and I've been hacking a copy of Tailspin Spyworks into my own website (terrible, I know but the teacher says its ok and besides the course only goes for 20 weeks with about 9 hours per week and I'm the only one in the class so I get very little one-on-one time with the teacher).

I've got a basic understanding of databases and I've got a one-to-many relationship with two tables - PlantInfo and Products. The PlantInfo table holds rows with a primary key (InfoID), PlantType (decorative or crop), PlantSeason and PlantMaintenanceLevel. The rows in the Products table have your typical columns (such as ProductID, CategoryID, Description, Cost, etc) as well as an InfoID column so if I have three different kinds of plants that all grow in Spring, are Low maintenance and are a decorative type of plant they will all have the same InfoID all pointing to the same row in the PlantInfo table.

Now for the problem. I've got this file http://pastebin.com/DTA4D7ks, ProductList.aspx (please note - the code behind .cs file is essentially empty). This page works great if you want to query (from the URL) the ProductID or the CategoryID or InfoID of rows in my Products table but I just can't seem to work out how to make the asp:EntityDataSource tag to allow me to do a query (from the URL) of my PlantInfo table for specific listings and then join the InfoID retrieved with products from my Products table with matching InfoID's. The asp:EntityDataSource tag will only allow me to query rows from one Table and it seemingly doesn't give any way to make use of the relationships between your tables (to either query data in the related table or to display it on the page).

The only solution I can think of is to ditch this EntityDataSource thing altogether and just write some code to QueryString the URL for whichever parameters I desire and run SQL queries to match/contain whatever I please from the two tables and then join the two tables together. This seems like the simplest way but apparently code-behind is "bad" and should be avoided. Another simple solution is just to keep all the data (PlantType, PlantMaintenanceLevel and PlantSeason) in the Products table but I've got different types of Products like soils, pots and gardening tools where that sort of stuff doesn't really apply.

I know this post sucks and isn't very descriptive but I've gotten this far without completely losing my sanity. I've tried just about every combination of google search keywords I could think of for at least a solid 3, maybe 4 hours and I'm still stumped.

Edit: Here's an image showing the columns for the tables I've been talking about and a join query of the two tables. http://i.imgur.com/zkgKK.png

After Catalyzm's comment I looked at LINQ queries and it pretty much looks like what I'm after. I think I've been trying to fit a square peg in a round hole with this asp EntityDataSource tag. I'll try and get it working on the weekend and I'll report back on how it goes.

Edit 2: It would appear LINQ is dependant on SQL which would appear to needlessly increase the complexity of the issue I'm having.


r/ASPNET • • Jul 22 '13

ASP.NET MVC + Sass = ♥

Thumbnail
darrenkopp.com
0 Upvotes