Questions tagged [asp.net]

ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites and web applications. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language.

ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites and web applications. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language.

More information at: www.asp.net

626 questions
195
votes
19 answers

When to favor ASP.NET WebForms over MVC

I know that Microsoft has said ASP.NET MVC is not a replacement for WebForms. And some developers say WebForms is faster to develop on than MVC. But I believe speed of coding comes down to comfort level with the technology so I don't want any…
P.Brian.Mackey
  • 11,123
  • 8
  • 48
  • 87
149
votes
7 answers

Relationship between C#, .NET, ASP, ASP.NET etc

I'm really unclear on the difference between C#, C#.NET and the same for ASP and other '.NET' languages. From what I understand, .NET is a library/framework of... things. I think they're essentially access to Windows data such as form elements etc,…
Megan Walker
  • 2,016
  • 2
  • 14
  • 11
98
votes
18 answers

Are unit tests really that useful?

I just graduated with a degree in CS and I currently have a job as a Junior .NET Developer (C#, ASP.NET, and web forms). Back when I was still in university, the subject of unit testing did get covered but I never really saw the benefits of it. I…
Jane Doe
  • 457
  • 1
  • 5
  • 7
46
votes
5 answers

When to use PHP or ASP.NET?

I have worked extensively in developing web applications using PHP and ASP.NET, but one of the questions that I'm constantly asked by customers is whether to move forward with a php website or an asp.net website. So naturally the first thing that…
Edward
  • 2,149
  • 4
  • 19
  • 24
44
votes
2 answers

What are the definitive guidelines for custom Error Handling in ASP.NET MVC 3?

The process of doing custom error handling in ASP.NET MVC (3 in this case) seems to be incredibly neglected. I've read through the various questions and answers here, on the web, help pages for various tools (like Elmah), but I feel like I've gone…
RyanW
  • 829
  • 1
  • 6
  • 10
33
votes
4 answers

Why after each restart, my local .NET sites take time to load for the first time?

I'm developing sites based on .NET platform. I usually deploy these sites on my local IIS, so that I can test them and see their functionality before going live. However, each time I restart windows, it seems that sites take a long time to run for…
Saeed Neamati
  • 18,142
  • 23
  • 87
  • 125
31
votes
8 answers

ASP.Net or WPF(C#)?

Our team is divided on this and I wanted to get some third-party opinions. We are building an application and cannot decide if we want to use .Net WPF Desktop Application with a WCF server, or ASP.Net web app using jQuery. I thought I'd ask the…
Rachel
  • 23,979
  • 16
  • 91
  • 159
31
votes
6 answers

Is There a Real Advantage to Generic Repository?

Was reading through some articles on the advantages of creating Generic Repositories for a new app (example). The idea seems nice because it lets me use the same repository to do several things for several different entity types at once: IRepository…
Sam
  • 413
  • 1
  • 4
  • 8
31
votes
5 answers

Should we use Entity Framework?

We currently have the following stack : VS 2005 Web forms SQL Server 2005 IIS 6 We are planning on transitioning to this : VS 2010 MVC and Web Forms SQL Server 2008 IIS 7 My question is, when we move to MVC with VS 2010, should we use Entity…
FarFigNewton
  • 525
  • 1
  • 4
  • 11
28
votes
4 answers

Best practice to store DateTime based on TimeZone

Developing a web application which should allow User to schedule appointment based on their TimeZone. And I am storing the User scheduled datetime as server datetime into database field. While showing schedule information retrieved the value from…
user46506
  • 943
  • 3
  • 10
  • 11
28
votes
14 answers

Newbie seeking advice on programming in general

need some of you to remember back to a time when you might have been bad at programming... Been at my new job (as a software developer) for a couple of months now, passed probation period. Have very little programming experience (C++ only) and am…
user974685
  • 191
  • 1
  • 4
28
votes
1 answer

What is the difference between the Controller in MVC and ViewModel in MVVM?

I can't see the difference between MVC and MVVM clearly. I feel the Command in a ViewModel is just like the Action method in a Controller. And both the Controller and ViewModel will notify the View to refresh itself after modifying the state of the…
TomCaps
  • 863
  • 2
  • 7
  • 13
27
votes
10 answers

How do I pitch ASP.NET over PHP to a potential client?

I work at a Microsoft shop doing mainly web development. We had a client who asked us to review (improve) the data model for his web app, but said that he wants to develop his app in PHP (he knows "a guy" who can do it). When I asked him why he…
roman m
  • 383
  • 3
  • 7
27
votes
4 answers

How many days is it normal for a new hire programmer to take to get up to speed?

I have just landed a role as a C#/Asp.Net developer at a large software house. I have previously worked at a much smaller software house for about two years but it was a varied/mixed role there, and here the asp.net applications we have are a factor…
27
votes
1 answer

call a function and never wait for it in C#

I have a controller in my mvc4 web application in which there is an action that needs to call another function. What happens in that function i.e. the return value is not important for my action. How i can call that function and never wait for it to…
user2675751
  • 381
  • 1
  • 3
  • 6
1
2 3
41 42