Differences between general processing programs, ASP. NET, and MVC, asp. netmvc
I am a bit ashamed of this question.
I want to learn ASP. NET WebForms in college.
During the internship, I also used WebForms to develop websites. Then I felt that. NET development websites use this development mode.
Now I want to laugh at it... I can't help it. I want to smile. Haha !!!
OK. Go back to the topic
ASP. NET is a development framework that uses HTML, CSS, JavaScript, and server scripts to create webpages and websites.
ASP. NET supports three different development modes:
Web Pages, Web Forms, and MVC (Model View Controller Model-View-Controller)
Web Pages
My understanding is that a single page is added to a general processing program, and Web Pages are the simplest development mode for developing ASP. NET Web Pages. It provides a simple way to combine HTML, CSS, JavaScript, and server scripts.
Web Forms
Web Forms is the oldest ASP. NET programming mode. It is an event-driven webpage that integrates HTML, server controls, and server code.
Web Forms is compiled and executed on the server, and then HTML is generated by the server and displayed as a webpage.
Web Forms has hundreds of Web controls and Web components to create user-driven websites with data access.
MVC
MVC is a pattern used to design and create a Web application using MVC (Model View Controller Model-View-Controller:
Model indicates the application CORE (such as the database record list ).
View (View) displays data (database records ).
The Controller processes input (written to database records ).
The MVC mode also provides full control over HTML, CSS, and JavaScript.
MVC programming mode is a lightweight alternative to traditional ASP. NET (Web Forms. It is a lightweight, testable framework that integrates all existing ASP. NET features, such as master pages, security, and authentication.