In asp.net, the front part is HTML, asp, aspx, etc. The middle layer is a. dll Control compiled by. vb,. cs and other files, followed by a database server.
In the three-tier structure of ASP. NET, the database layer links and operates through the middle layer, the front end transmits parameters to the middle layer, and accepts parameters of the middle layer. Generally, the primary concern is the data interaction between the middle layer and the front-end. The intermediate layer can be used as a component, generally a. dll file. In. NET, you can copy the. dll file without having to consider registration issues.
In the design mode, the three layers in ASP. NET are called the presentation layer, business layer, and data layer.
1. Presentation Layer: Provides the application user interface. It usually includes the use of Windows Forms and asp.net pages.
2. Business Layer: The business layer implements the business functions of applications.
3. data layer: The data layer provides access to external systems such as databases. The main. NET technology involved in this layer is ADO. NET database access technology.
The three-layer structure is a design model that has gradually become popular in recent years. It can enable better scalability, flexibility, platform independence, and maintainability of the program, but in contrast, the development cycle is longer, more code is required. Therefore, if you want to develop a large project, it is best to use a three-tier structure. For some small projects, you can not use a three-tier structure.
In addition, when developing a three-tier structure in ASP. NET, we must try to minimize the Coupling Degree between the layers, at least to separate different parts, and do not penetrate each other.
- Implementation of ASP. NET form Authentication
- An error occurred while submitting the asp.net Form using JQuery Form Ajax.
- Summary of ASP. NET installation and deployment problems
- Experience in running ASP. NET on APACHE
- ASP. NET Online Learning Resource Summary