The source code description of the ASP. NET MVC 5 framework is uncovered. zip

Source: Internet
Author: User

1th Chapter S101 The interaction between presenter and view in MVP (SC) mode
S102 The mini-version of the ASP. NET MVC Framework
2nd Chapter S201 Mapping of request addresses to. aspx pages through routing
S202 Basic Route Registration
S203 Specifying constraints in route registration
S204 Routing for existing physical files (off)
S205 Routing for existing physical files (on)
S206 The effect of the Routeexistingfiles property of RouteCollection and route on routing
S207 Registered routing addresses that need to be ignored (unregistered)
S208 Registered routing address (registered) that needs to be ignored
S209 Generate the appropriate URL from the registered route
S210 Registering route mappings and viewing routing information
S211 Urlparameter.optional the difference from the default value of the generic route variable
S212 Viewing area-based routing information
S213 Create a URL generation logic for Routehelper simulation Urlhelper
S214 Extend the ASP. NET routing system with custom route
3rd Chapter S301 Controller default asynchronous Execution mode
S302 Implement synchronous execution of controller by using Disableasyncsupport property
s20r How to increase the priority of a namespace (exceptions caused by multiple controllers with the same name under the same priority namespace)
S304 How to increase the priority of a namespace (specify a priority matching namespace for the current controllerbuilder)
S305 How to increase the priority of a namespace (specify a preferred matching namespace when routing registrations)
S306 Exception caused by Controllerr namespace in area and corresponding adminarearegistration mismatch
S307 Removing the Adminarearegistration namespace causes the fallback namespace to be used
S308 Create a custom controllerfactory simulation controller default activation mechanism
S309 The embodiment of Ioc/di in unity
S310 Create a unity-based controllerfactory
S311 Create a ninject-based Controlleractivator
S312 Create a ninject-based dependencyresolver
4th Chapter S401 Setting the template name with the Uihintattribute attribute
S402 To set the "hidden" element by the Hiddeninputattribute attribute (default)
S403 To set the "hidden" element (Displayvalue=false) with the Hiddeninputattribute attribute
S404 Setting the data type with the Datatypeattribute/displayformatattribute attribute
S405 Control the reading and writing of data members through Editableattribute/readonlyattribute
S406 Setting the display name with the Displayattribute/displaynameattribute attribute
S407 Controls whether data members can allow HTML to be included through the Allowhtmlattribute attribute
S408 Customizing the model metadata with custom Metadataaware features
S409 To display a Boolean value as RadioButton through a template
S410 Proving the equivalence between Datatypename and template names
S411 Get the candidate template Name list based on the model metadata
S412 Implement predefined list rendering by customizing model metadata and custom templates
S413 Customizing model metadata through custom Modelmetadataprovider
5th Chapter S501 Validate the validity condition of the action method (for the method itself)
S502 Verify the validity condition of the action method (controller only implements IController interface)
S503 Verify the validity condition of the action method (Controller inherits from Controllerbase)
6th Chapter S601 Resolves a key (property prefix) that namevaluecollectionvalueprovider the specified prefix
S602 Resolves the key (index prefix) of the specified prefix Namevaluecollectionvalueprovider
S603 A mechanism for detecting the value of Childactionvalueprovider
S604 Create a custom Valueproviderfactory
S605 Modelbinder selection strategy for data types
S606 Control the Modelbinder by registering customizations
S607 Registering a matching modelbinder for a data type
S608 Use Modelbinderattribute to provide the specified Modelbinder
S609 Settings for modelstate during model binding
7th Chapter S701 Binding a simple type parameter with a custom Defaultmodelbinder
S702 binding Complex type parameters with custom Defaultmodelbinder (no prefixes for parameters)
S703 binding Complex type parameters with custom Defaultmodelbinderr (with prefix for parameters)
S704 Binding for a collection of data items of the same name
S705 Using the custom Defaultmodelbinder binding collection type parameter (zero-based index)
S706 Using a custom Defaultmodelbinder binding collection type parameter (text index)
S707 Using a custom Defaultmodelbinder binding dictionary type parameter
8th Chapter S801 Manual parameter Validation (using ValidationSummary to display error messages)
S802 Manual parameter Validation (call the Validationmessage method to display an error message)
S803 Manual parameter Validation (call the Validationmessagefor method to display an error message)
S804 Manual parameter Validation (calling template method Editorformodel)
S805 "Automated" validation for Validationattribute features
S806 Let the validated data type implement the Ivalidatableobject interface
S807 Let the validated data type implement the IDataErrorInfo interface
S808 Probing the validation behavior used by Compositemodelvalidator (attribute members are not validated)
S809 Probing the validation behavior used by the Compositemodelvalidator (attribute members pass validation)
S810 Validation in simulation model bindings
9th Chapter S901 How to apply multiple homogeneous validationattribute attributes to the same target element (typeID property not overridden)
S902 How to apply multiple homogeneous validationattribute attributes to the same target element (overriding the typeID property)
S903 Resolving Modelvalidator created for different attribute members
S904 How to apply the Validationattribute attribute to a parameter
S905 A model type with multiple validation rules
S906 jquery validation (specifying validation rules inline)
S907 jquery validation (specifying validation rules and error messages separately)
S908 Custom Client Validation
10th Chapter S1001 Definition of Asynchronous action (xxxasync/xxxcompleted)
S1002 Definition of the asynchronous Action (task return value)
S1003 Definition of asynchronous action (with async keyword)
S1004 Creation of Actioninvoker (cache not emptied)
S1005 Creation of Actioninvoker (empty cache first)
S1006 Actioninvoker the creation of Controllerdescriptor
S1007 Types of Actiondescriptor in Reflectedasynccontrollerdescriptor
S1008 Effects of Asynccontroller and actioninvoker on asynchronous action
S1009 Performance differences in reflection and expression execution methods
S1010 Using the action method on an expression tree
11th Chapter S1101 The ActionResult returned by the action method under different circumstances
S1102 Using Contentresult for Theme customization
S1103 Publish pictures with Fileresult
S1104 Implementation of dynamic JavaScript using Javascriptresult
S1105 Create a custom View
S1106 Probing the directory-based View compilation mechanism
S1107 Create a simple Razorview
S1108 Activate the View in the IoC mode
S1109 Create a simple razorviewengine
12th Chapter S1201 Verifying The supply mechanism of the Filter
S1202 Verifying The execution order of the Filter
S1203 Verifying The uniqueness of the Filter
S1204 Achieve Basic certification with custom Authenticationfilter
S1205 Validation of input data containing HTML tags via validateinputattribute control
S1206 Set the effect of ActionExecutingContext's result on the entire Actionfilter chain execution process
S1207 Exception handling with a custom exceptionfilter integrated Enterprise Library (response exception with the specified action method)
S1208 Exception handling using custom exceptionfilter integrated Enterprise Library (with specified view display error message)
S1209 Exception handling with custom exceptionfilter integrated Enterprise Library (Error message returned in JSON format)
13th Chapter S1301 To verify the mapping between constraint types and specific routeconstraint types
S1302 Customizing constraints for Culture
S1303 See how the route object is generated by the feature route (Routeattribute applied to the action method)
S1304 See what route objects are generated by feature routing (apply Routeareaattribute attribute to specify area)
S1305 See how the route object is generated by the feature route (Routeattribute applied to the controller type)
14th Chapter S1401 Implementation of caching for method return values through AOP
S1402 Vedio Mall

The source code description of the ASP. NET MVC 5 framework is uncovered. zip

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.