MvcCodeRouting for ASP.NET MVC analyzes your controllers and actions and automatically creates the best possible routes for them.
Organize your controllers and views using namespaces (no more areas) that can go as deep as you want.
Includes support for hierarchical (a.k.a. RESTful) and also user-defined custom routes (using an attribute).
It also supports embedded views (as assembly resources) that can be individually overridden by file views.
MvcCodeRouting is a single unified solution that provides namespace-aware automatic route creation, URL generation and views location.
See the version list below for details.
Install-Package MvcCodeRouting.Web.Http -Version 0.10.0-beta
dotnet add package MvcCodeRouting.Web.Http --version 0.10.0-beta
<PackageReference Include="MvcCodeRouting.Web.Http" Version="0.10.0-beta" />
paket add MvcCodeRouting.Web.Http --version 0.10.0-beta
- Implemented BindRouteProperties
- Fixed #1152: Both traditional and verb-based routing cannot be used in the same ApiController
- Using Guid as route name in self host
- MvcCodeRouting (>= 1.1.0 && < 1.1.10)
This package is not used by any popular GitHub repositories.