difference |
webapplication project |
website |
project file structure |
the project file (. csproj or. end of vbproj) stores information about the project, such as the project contained in the list file, which can be referenced from the project to the project. |
if no project file exists, the folder structure of all files on the website is automatically included. |
compile |
specify the name of the compiled Program set. by default, compile the Code file (excluding the aspx and ascx files) to generate a single component. |
Source Code is usually dynamic compilation. (Automatic) after receiving a request for the first time on the ASP. NET Server, the website has been installed or updated. You can pre-compile the site (compile on the development computer or on the server in advance ). · multiple components are compiled by default. |
namespace |
contains the default namespace. |
it does not contain the default namespace, but can be specified manually. |
deployment |
you copy the assembly to the server. This component is compiled by the application. tools provided by Visual Studio and integrated IIS Web deployment tools are used to automatically execute many deployment tasks. |
you can copy the source file to the IIS computer to install it. it can be pre-compiled on the development computer and then published to the server. · tools provided by Visual Studio for deployment, but they do not have automated tools and can be used for the deployment tasks of Web application projects. |
others: the Web project can control the generated DLL. Web websites can be dynamically compiled. For more information, see.