[ASP.NET MVC] dynamic and static website (3)

1. Difference

Static web page (site)

The user submits an access request through a browser. The request can be the default home page or a certain page in a specified website. The WEB server searches for the corresponding web page and sends it to the client through the HTTP protocol to complete the access.

Features: Every visit and different role visits are the same page. If you want to change, you need to modify the server page.

Dynamic web page (site)

 The biggest difference is that the web server dynamically generates pages according to requirements, which means that different users or access conditions can dynamically display different pages.

Dynamic web page (station) + database

On the basis of the above, database access is added, centered on the database, and data is displayed in different ways.

In summary, except for special requirements, dynamic web pages + databases are generally used to solve WEB problems.

2. About .NET Framework 

The official name of the .NET Framework is the .NET Application Framework, which includes the basic class library and runtime environment of the .NET platform .

A .NET application is written using the .NET Framework class library,

An application that runs on the Common Language Runtime.

The .NET Framework component is the core of the .NET application development environment and is responsible for the execution of the program.

ASP.NET is part of the .NET framework for website development ;

WinForm is developed for desktop applications.

The above is excerpted from the Internet, which can be understood as:

1. ASP.NET is the WEB solution of the Framework, and there are windows (WinForm) and others. The WEB solution of ASP.NET needs  the support of the Framework  ;

2. ASP.NET is a CLR-based development environment, and other languages ​​can be used (not only C#, such as VB);

3. Framework of ASP.NET MVC:

 Obviously a dynamic website solution where the View is dynamically generated by the controller!

Guess you like

Origin blog.csdn.net/yixiaobo2001/article/details/132007344