Should I create an ASP.NET web application or website?

1132360 pts.
Tags:
ASP.NET
Visual Studio
I'm starting a new ASP.NET project in Visual Studio 2005. But here's my question: Should I create a ASP.NET web application or a website? Should I choose one or even both? What's the difference between the two?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you are starting from scratch, you should create a web application.  This site does an excellent job of explaining the differences, but the main difference is that web applictions will compile down to a set of DLLs that can be deployed to your server.  The site is built as a unit, and has much better compile time error detection, as well as better intellisense.  Web sites are a loose collection of pages that Visual Studio does not considered to be a unit.  

Web sites are available in Visual Studio for backward compatibility, and can be used if you are maintaining an old ASP Classic site.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: