Results 1 to 1 of 1

Thread: ASP.Net - What is the difference between a Web Site and a Web Application?

  1. #1

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    ASP.Net - What is the difference between a Web Site and a Web Application?

    This FAQ is currently a work in progress


    Starting with Visual Studio 2005, Microsoft introduced the concept of both a "Web Site" template and a "Web Application" template for creating an ASP.Net web project.

    The ability to create these two different project types continued through Visual Studio 2008 as well as Visual Studio 2010.

    To create a "Web Site" you choose File | New | Web Site...

    Name:  File - New - Web Site.png
Views: 5405
Size:  118.4 KB

    Once you have done this, in Visual Studio 2010, you have two main options:

    1. to create an Empty Web Site
    2. to create Default Web Site


    If you create an Empty Web Site Visual Studio 2010 will create the following in the Solution Explorer:



    If you create a Default Web Site Visual Studio 2010 will create the following in the Solution Explorer:

    To create a "Web Application" you choose File | New | Project...

    Name:  File - New - Project.png
Views: 5193
Size:  119.0 KB
    Attached Images Attached Images    

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width