Home >Backend Development >C#.Net Tutorial >What does ASP.Net mean? What are the features of the ASP.Net framework?

What does ASP.Net mean? What are the features of the ASP.Net framework?

云罗郡主
云罗郡主Original
2019-01-14 17:01:2312855browse

What does ASP.Net mean? What are the features of the ASP.Net framework?

1: What is ASP.Net

#The full form of ASP is Active Server Pages, .NET is Network Enabled Technologies.

ASP.Net is a web development platform provided by Microsoft. It is used to create web-based applications. ASP.Net was first released in 2002. The first version of ASP.Net deployed was 1.0 , the latest version of ASP.Net is version 4.6, ASP.Net is designed to use the HTTP protocol, which is the standard protocol used in all web applications.

ASP.Net applications can also be written in various .Net languages. These include C#, VB.Net.

2: ASP.NET architecture and its components

ASP.Net is a framework for developing Web-based applications. The basics of the ASP.Net framework The architecture is as follows

1. Language, .net framework exists in various languages, namely VB.net and C#, which can be used to develop web applications.

2. Library, .NET Framework contains a set of standard class libraries. In .net, the most common library used for web applications is the web library. The web library has functions for developing .Net web-based applications. All necessary components of the program.

3. Common language infrastructure, .Net programs are executed on the platform, and CLR is used to perform key activities, including exception handling and garbage collection.

Three: Features of the ASP.Net framework

1. Code-behind mode

This is the concept of separation of design and code. By doing this Decoupled, it becomes easier to maintain ASP.Net applications. The regular file type for ASP.Net files is aspx, assuming we have a web page named MyPage.aspx, there will be another file named MyPage.aspx.cs which represents the code part of the page. So Visual Studio creates separate files for each web page, one for the design part and another for the code.

2. State management

ASP.Net has the function of controlling state management. HTTP is called a stateful protocol. Suppose now, when the user decides what he wants to buy from the website, he will press the submit button.

The application needs to remember the items the user selected for purchase, this is called remembering the state of the application at the current point in time, HTTP does not store the information in the shopping cart when the user enters the purchase page , additional coding is required to ensure that cart items can be forwarded to the purchase page. Such implementation can sometimes become complex. So ASP.Net can remember the shopping cart items and pass them to the purchase page.

3. Caching

ASP.Net can implement caching and improve the performance of the application. By caching those pages frequently requested by users, they are stored in temporary locations and can be retrieved faster. these pages and can send better responses to users.

What does the above mean for ASP.Net? A full introduction to the features of the ASP.Net framework. If you want to know more about ASP.NET video tutorial, please pay attention to the php Chinese website.


The above is the detailed content of What does ASP.Net mean? What are the features of the ASP.Net framework?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is ASPNext article:What is ASP