ASP. net mvc extension library and asp. netmvc Extension
Many of you have read this article ASP. net mvc, you must know 13 extensions. Today we will introduce you to an ASP. net mvc extension library, mainly for these extension points. The core of this project is the IOC container, including Ninject, StructureMap, Unity, Windsor and Autofac. If you like IOC as much as you do, this library deserves your attention.
The URL of the ASP. net mvc extension library is http://mvcextensions.github.io/. based on the source library of the ms-pl, the following describes the features of the extension:
- The core of this library is IOC, which makes your code irrelevant to IOC, but your code can use powerful IOC.
- Adapters for multiple IOC libraries: All popular IOC containers on. NET have adapters.
- Bootstrapping: you do not need to write similar code in each project to register your Controller/Controller Factory/Model Binders/View Engines/Action Filters/Custom Dependencies.
- PerRequestTask: similar to the custom business logic that the HttpModule processes, it can also control the execution sequence.
- Model Binder: inject custom dependencies of your Model Binder through constructors.
- Action Filter Fluent Registration: supports constructor injection to your Action Filter.
- ModelMetadata Fluent Configuration: supports composite ModelMetadata provider. By default, DataAnnotationsModelMetadataProvider is used. EF Code First and Fluent nhib.pdf are also supported.
- Various ActionResults: contains common ActionResults, including XmlResult, ExtendedJsonResult (JsonConverters supported), and Adaptive PRG (PostRedirectGet) results.
- Common Route variables include Range, Positive Int/Long, Guid, Enum, and RegEx.
- Other practical methods and helper classes.
The actual application examples of this library can be found in Shrinkr and KiGG of this project.
Reference: http://www.cnblogs.com/shanyou/archive/2010/05/15/1736463.html
Https://archive.codeplex.com /? P = mvcextensions