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.