ASP. net mvc extension library and asp. netmvc Extension

Source: Internet
Author: User

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

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.