nuget.org : routingextensions.midnight.oil.mvc.extensions
Goal was to replace e.g.: "Url.Action("Index", "Home", new { a = 1, b = 2});" with "Url.ActionFor<HomeController>(c => c.Index(a: 1, b: 2));". So far there is a Controller base class which helps with redirects, UrlHelper extensions for use shown in the example and HtmlHelper extensions with multiple possibilities. Underneath the magic it uses the standard MVC classes and methods, and this is only a small wrapper around them to allow strong and static typing.
Registry
- JSON
purl: pkg:nuget/routingextensions.midnight.oil.mvc.extensions
Keywords:
Routing
, Extensions
, Midnight
, Oil
, Mvc
, Generic
, Lambda
, Strong
, Static
, Type
, Typing
, Url
, Action
, Controller
, Web
License:
Latest release: over 125 years ago
First release: over 125 years ago
Last synced: 8 days ago