Web applications vs what is a website

Source: Internet
Author: User

The search on the Internet is too messy. I sorted it out.

1) Web ApplicationsProgramIs to compile the entire site into a DLL, the compilation will be a little slow.

Each page of the website is edited separately, and only app_code is compiled into an assembly. Therefore, you do not need to compile all the modifications each time. (Main advantages)

Comparison: the website can be updated separately. Each directory of a website can be considered as a web application.

2) Web applications cannot add directories: app_code, bin,

You can add directories: app_code and bin to a website.

Comparison: the compilation method is different, so that Web applications do not need these two directories.

3) Web applications generate solutions and project files.

The website does not generate solutions and project files.

4) Web applications can add components and classes like winform. Web applications can also be referenced as class libraries.

After the website is referenced, the bin directory appears, including DLL and PDB.

5) The website type check is incomplete (two different files can generate classes of the same name). The website type is generally divided into multiple projects for centralized management.

6) Reference statement in the Web application: codebehind = "filelist. aspx. cs"

Reference statement in the Website: codefile = "filelist. aspx. cs"

7) The web application contains *. Designer. CS.

The website does not contain *. Designer. CS.

Conversion: websites can be directly converted to Web applications in.

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.