Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

ASP.NET about MVC


May 12, 2021 ASP.NET


Table of contents


ASP.NET MVC tutorial

MVC is a pattern that uses MVC (Model View Controller Model-ASP.NET View-Controller) design to create web applications;

ASP.NET is a development framework for creating web pages and websites using HTML, CSS, JavaScript, and server scripts.

ASP.NET supports three different development models:
Web Pages (Web Pages), MVC (Model View Controller Model-View-Controller), Web Forms (Web Forms).

This tutorial describes MVC.

Web Pages Mvc Web Forms


MVC programming mode

MVC is one of ASP.NET three programming modes.

MVC is a pattern for creating web applications using MVC (Model View Controller Model-View-Controller) design:

  • Model represents the core of the application, such as a list of database records.
  • View displays data (database records).
  • Controller processes inputs (writes to database records).

The MVC pattern provides full control over both HTML, CSS, and JavaScript.


ASP.NET about MVC

The MVC pattern defines the web application
With three logical layers:

Business layer (model logic)

Display layer (view logic)

Input control (controller logic)

Model is the part of the application that is used to process the application's data logic.
Typically, model objects are responsible for accessing data in a database.

View is the part of your application that handles data display.
Typically, views are created from model data.

Controller is the part of the application that handles user interaction.
Typically, the controller is responsible for reading data from the view, controlling user input, and sending data to the model.

MVC tiering helps manage complex applications because you can focus on one aspect in a time. F or example, you can focus on view design without relying on business logic. It also makes testing of applications easier.

MVC layering also simplifies group development. Different developers can develop views, controller logic, and business logic at the same time.


Web Forms compares MVC

The MVC programming mode is for traditional ASPs. A lightweight alternative to NET (Web Forms). It is a lightweight, testable framework that integrates all existing ASP.NET features such as master pages, security, and authentication.


Visual Studio Express 2012/2010

Visual Studio Express is a free version of Microsoft Visual Studio.

Visual Studio Express is a development tool tailored to MVC (and Web Forms).

Visual Studio Express contains:

  • MVC and Web Forms
  • Drag and drop web controls and web components
  • Web server language (Razor uses VB or C#)
  • Web Server (IIS Express)
  • Database Server (SQL Server Compact)
  • Complete web development framework (ASP.NET)

If you already have Visual Studio Express installed, you'll learn more from this tutorial.

If you want to install Visual Studio Express, click one of the following links:

Visual Web Developer 2012 (Windows 7 or Windows 8)

Visual Web Developer 2010 (Windows Vista or XP)

ASP.NET about MVC After you've installed Visual Studio Express for the first time, you can install patches and service packs by running the installer again, just click the link again.


ASP.NET the MVC reference manual

At the end of this tutorial, we ASP.NET complete MVC reference manual for you to review.


The above is an ASP.NET MVC of the 19th.