In the past Mid-Autumn Festival, the use of two days of debris time to Huangpao Authoring "ASP." MVC4 Development Guide Read, notes as follows, Huan drink in the development of MVC students together to explore:
1. Community
2. Open source Program
3. Easy to test
4. Reflector Tools
5. ASP. NET life cycle
6, comments and Todo tags, will appear in the Task list
7. Code Snippet Manager
8. Extensions and Updates
9, Json.NET
10, Razor syntax to write view, @html
11. Properties of model, controller, action
12. Model Binder and less request and response
13, VS2012 Unit test Project
14. vs2012 Web API
15, client request--url Routing--route--route Handler--http Handler
16, named parameters & selection Parameters
17, the action of multiple parameters passed in & model parameter passed in
18, routes. Maproute rewrite
19. Html Helper Generated URL
20, RouteTable.Routes.GetVirtualPath static method to get MVC inside the dynamically generated URLs
21, the life cycle of MVC is roughly divided into three main processes, URL routing alignment, running controller and action, running view and returning results
22. Complete asp: Request--url routing--route--route handler--http Handler--controller Factory--controller--view Factory--view--response
23, Global.asax file plus routtetable.routes.routeexistingfiles=true all client requests will be submitted to the MVC processing
24, Authconfig.registerauth ();
25, LocalDB
26, Metadata\system.componentmodel.dataannotations; attribute does not play a validation effect
27. Virtual keyword
28, Handleunknowaction rewrite
29. Dynamic
30, FormCollection
31. Complex class parameters
32. Bind exclude and include
33, Validateantiforgerytoken
34. Custom Filters
35, Razor syntax: single-line output @ Plus variable name can, do not need a semicolon, multiple lines of output @ Plus curly braces, curly braces are C # syntax, if the output of multiple lines need to output an HTML, only in a single line before adding @:, multi-line comments can be translated with @**@,@ symbols need to use @@, @@ 只 displays a,<text></text> tag in view, @Html. Raw can output Html
36, Razor the motherboard page frame
37, Razor @helper, @functions, @model, @using, webconfig inside can be registered for all the view of the same namespace,html auxiliary method, Html.BeginForm (),
Read the "ASP. MVC4 Development Guide (HUANGPAO)" Note