In VS2008, what is the difference between a website and a web application?

In VS2008, what is the difference between a website and a web application? And are there any advantages to using one of them?

+5
source share
8 answers

Before talking about the pros and cons, you should know the fundamental difference in how this works.

Website projects use a time-based compilation approach that dynamically compiles your aspx and its associated file when your page is actually visited. The compiled assembly is then placed in the bin folder with a randomly generated DLL name.

-, , dll . - ( )

, :

  • - , , - ( ),
  • , , - JIT.
  • , WONT - - , , ASP.NET MVC MonoRail.
  • TDD - , . , TDD DLL, -.
  • , , VS2005 - - , aspx. - .

, , , .

+14

- - . , , aspx.

, ( , IIS) (FTP, WebDev/FrontPage) "" > "" > "-...".

-, . .

/

  • , , . .
  • ,

- - Visual Studio 2005, VS 2005 SP1 Visual Studio 2008.

, -, , -.

- VS , , .

MSI, -, , .

/

  • . .
  • -, dll

http://damieng.com/blog/2008/02/07/web-site-vs-web-application

+7

Visual Studio 2005, -

.

- -. , ( ), .

+1

- . , , msbuild script. msbuild - -. , , . , , , . - , , , . .

0

. . -.

, .Net 1.1 3.5, -, , 1.1.

, , - :

  • ( -, , , )
  • ,

, -. , , . - , , . , .

0

-. Bin , Bin ( ). , - ( ).

0

-: -:

visual studio 2005 sp1 - Visual Studio 2008: .

myblog

0

There are many articles here , here , and here, and even here . The main difference is that the website project contains a folder of related assets that make up the website, and anything in this folder is part of the website, while the website application is considered more like a desktop application and has a file .csproj / vbproj, which lists all the content of the application. In addition, the pages have designer files in the website application.

0
source

All Articles