Differences between webapplication and website in ASP. NET

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.