Differences between general processing programs, ASP. NET, and MVC, asp. netmvc

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.