Namespace-based Modularity for ASP.NET MVC and Web API

  • Break your application into as much small pieces as you want, using namespaces and projects.
  • URL generation and Views location is relative to the module.
  • Embed your views which can be overridden by files views in the host application.
  • Create reusable portable modules.

Convention over configuration Automatic Routing

  • Routes are automatically created for you using convention over configuration.
  • Break away from the convention using attribute routes.
  • Default constraints for primitive types that can be overridden on a per-parameter or per-module basis.
  • Intelligent grouping of similar routes for efficient matching.
  • Formatting of routes (e.g. to lowercase, hyphen-separated, underscore-separated, etc).

MvcCodeRouting is an alternative to

  • Conventional routing
  • Custom routing
  • Attribute routing
  • Areas

Motivation

See the Documentation for more information.

What are people saying?

  • I've now switched all my MVC apps to MvcCodeRouting. It is (in my opinion) how MS should have implemented it. - Wade Bee
  • This is outstanding work. I just tried it out and was able to get the tree of routes I needed purely by namespace conventions. Bravo! - Joshua Gough
Donate Flattr this GitHub Mirror

Last edited Oct 3 at 6:44 PM by maxtoroq, version 141