Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the advantages of ASP.NET website

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "what are the advantages of ASP.NET website". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the advantages of ASP.NET website"?

The ASP.NET website compiles quickly and uses incremental compilation mode, which will be compiled incrementally only after the file has been modified.

Generated assembly WebSite: generate a random assembly name, which requires plug-in WebDeployment to generate a single assembly WebApplication: you can specify the ASP.NET website project to generate a single assembly. Because it is an independent assembly, like other projects, you can specify the name, version, output location and other information of the application assembly.

◆ can split the ASP.NET website into multiple projects for easy management.

◆ can exclude a file from the project and source control

Team Build that supports VSTS in ◆ facilitates daily construction

◆ has more powerful code review capabilities, and the inspection strategy is controlled by source code

◆ can do its own processing before and after compilation.

◆ 's Resource strong class support for App_GlobalResources (said on the Internet, not yet understood)

◆ directly upgrades large systems built with VS2003

Advantages of the WebSite programming model:

◆ compiles the page dynamically, and you can see the effect immediately. You don't have to compile the entire site (main advantage)

◆ is the same as above, so that the part of the error does not interfere with the part used (can be checked in only if the compilation is passed)

◆ can generate one assembly per page (not in this way)

◆ can treat a directory as a Web application, directly copy files and publish them without the need for project files (it doesn't matter, it's only suitable for small sites)

◆ can also compile pages into assemblies (it should not be needed, and WebApplication can also be implemented through WebDeployment plug-ins)

The transformation of the two programming models:

VS2005 SP1 has a built-in conversion program, which makes it very easy to convert from WebSite to WebApplication. Just copy the file and right-click and execute "convert to Web application". No special reverse conversion tool is found, but after comparison, it is found that if the conversion is also very simple.

Delete all * .designer.cs and replace Codebehind= "FileList.aspx.cs" in * .aspx, * .ascx, * .master page files with CodeFile= "FileList.aspx.cs" in batch

Thank you for your reading, the above is the content of "what are the advantages of the ASP.NET website". After the study of this article, I believe you have a deeper understanding of the advantages of the ASP.NET website, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report