Difference between ASP. Net website creation and web application Creation

Source: Internet
Author: User

Reference: http://www.cnblogs.com/jianglan/archive/2012/02/28/2371064.html

My understanding:

1. Create a new website and publish the website to the server or virtual host. You can either publish the website or directly upload the compiled website to the host to run the website. And modifyCodeThen, you only need to overwrite the corresponding page upload (using the unpublished method ).

2. Create a web applicationProgram, You need to publish the website and then upload it to the server or host. After modifying the code, you must release it again.

3. Creating a website is suitable for medium and small websites, and creating a web application is suitable for medium and large websites.

4. For more information, see the link blog...

The answers found in other forums are as follows:

All are designed for Web pages.
You can add ASP. NET folders.

Web application default. aspx displays two original files and default. aspx. CS and default. aspx. designer. CS; Web site default. aspx displays an existing file default. aspx. CS.
There are two types of Web applications: re-emergence and release. One web site has only one publishing site.
There is no difference between a web application and a general winform in that a namespace is referenced. After a web site is referenced, a bin folder contains DLL and PDB files.
Web applications can be referenced as class libraries, while Web websites cannot be referenced as class libraries.
For Web applications, you can add bin and app_code to the ASP. NET folder. For Web websites, you can add ASP. NET folders, Including bin and app_code.
You can also add components and classes for Web applications, but not for Web websites.
Although the source files are all default. aspx. CS, the Web application has a namespace and an additional system. Collections space reference is provided.

The Web application needs to be re-compiled after the underlying code of the page is modified.

The website does not need to be re-compiled

You can add APS folders for websites, but not for Web applications.

A dll file is generated for a Web application project.
When the website is released, the DLL file is automatically generated, but the DLL file names are different each time.

Web applications have solutions and project files

When a web application is opened, all projects are compiled. Therefore, opening a web application is slow at the beginning, but the subsequent running is faster.
The website compiles the page when accessing every page, so the speed of accessing every page is almost the same.

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.