How ASP. NET MVC Works?

Source: Internet
Author: User

I. ASP. NET + MVC

IIS and ASP.

MVC, MVP, and model2[]
MVC, MVP, and model2[next article]

How ASP. [1]: Web applications built on the "pseudo" MVC framework
How ASP. NET MVC works [2]: URL routing
How ASP. [3]: Controller activation
How ASP. NET MVC Works [4]: Execution of action

Second, URL routing

Asp. NET routing system: separation of URLs from physical files
Asp. NET routing system: route map
Asp. NET routing system: Generate URLs based on routing rules

ASP. NET MVC Route extension: Route map
ASP. NET MVC route Extensions: Generation of links and URLs

Asp. NET routing System implementation principle: dynamic mapping of HttpHandler

Multi-lingual support through URL routing in ASP.

Third, the controller's activation

ASP. NET MVC Controller activation system Detailed: Overall design
ASP. NET MVC Controller activation system detailed: default implementation
ASP. NET MVC Controller activation system details: Application of IOC [prev]
ASP. NET MVC Controller activation system: Application of IOC [next]

Iv. Provision of Model metadata

ASP model metadata and its customization: initial knowledge of model meta-data
ASP-Model metadata and its customization: Model meta-data customization
ASP data and its customization: an important interface Imetadataaware

Model metadata and Model template for ASP: pre-defined templates
Model metadata and Model template for ASP: Template acquisition and execution strategy
Model metadata and Model template for ASP: Introducing ListControl to ASP. NET MVC

Implementation of model metadata delivery mechanism for ASP.

V. Binding of Model

ASP. Three important descriptive objects: Controllerdescriptor
ASP. Three important descriptive objects: Actiondescriptor
ASP. Three important descriptive objects: Controllerdescriptor and actiondescriptor creation mechanism
ASP. Three important descriptive objects: Parameterdescriptor

ASP. NET MVC provides the system with a value of Valueprovider as the core: Namevaluecollectionvalueprovider
ASP. NET MVC provides the system with a value of Valueprovider as the core: Dictionaryvalueprovider
ASP. NET MVC provides the system with a value of Valueprovider as the core: Valueproviderfactory

Modelbinder of ASP and its supplying mechanism

Simulate the mechanism of ASP. NET MVC model binding by Example: Simple Type + Complex type
Simulates the mechanism of ASP. NET MVC model binding through an instance: array
Simulate the mechanism of ASP. NET MVC Model binding: Collection + Dictionary

VI. Model Verification

The model verification system with Modelvalidator as the core of asp: Modelvalidator
The model verification system with Modelvalidator as the core of asp: Modelvalidatorprovider
The model verification system with Modelvalidator as the core of asp: Modelvalidatorproviders

ASP. NET MVC model validation based on labeling features: Validationattribute
ASP. NET MVC model validation based on labeling features: Dataannotationsmodelvalidator
ASP. NET MVC model validation based on labeling features: Dataannotationsmodelvalidatorprovider
ASP. NET MVC model validation based on label attributes: applying Validationattribute to parameters
The model validation based on the labeling feature of ASP: one model, multiple validation rules

Client-side validation of asp: jquery validation
Client-side validation of asp: implementation of jquery validation in model validation
Client-side validation of asp: custom validation

Vii. Execution of Action

The definition and execution principle of asynchronous action under ASP.

ASP. NET MVC involves 5 synchronous and asynchronous, whether you are stupid or not clear? [the previous Article]
ASP. NET MVC involves 5 synchronous and asynchronous, whether you are stupid or not clear? [Next Article]

Deep dive into the filter for ASP.
Recognize 5 types of authorizationfilter for ASP.
How does the actionfilter in ASP.

ASP. NET MVC Integration EntLib Implementation of "Automation" exception handling [Example]
ASP. NET MVC Integration EntLib Implementation of "Automation" exception handling [implementation]

Viii. rendering of the view

Learn about the nature of several actionresult of asp: Emptyresult & Contentresult
Understand the nature of several actionresult of asp: Fileresult
Learn about the nature of several actionresult of asp: Javascriptresult & Jsonresult
Learn about the nature of several actionresult of asp: Httpstatuscoderesult & Redirectresult/redirecttorouteresult

How does ASP. NET MVC view be rendered? [Design Article]
How does ASP. NET MVC view be rendered? [Example]

ASP. Razor Engine: View compilation principle
ASP. Razor Engine: Razorview
ASP. Razor Engine: The application of the IOC in the view activation process
ASP. Razor Engine: Razorviewengine

How ASP. NET MVC Works?

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.