NuGet Package RoutingExtensions

Goal was to replace e.g.: "Url.Action("Index", "Home", new { a = 1, b = 2});" with "Url.ActionFor(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.

Info

Version: 1.0.0
Last Update: Sunday, June 11, 2017
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/RoutingExtensions.Midnight.Oil.Mvc.Extensions


Install
Install-Package RoutingExtensions.Midnight.Oil.Mvc.Extensions
dotnet add package RoutingExtensions.Midnight.Oil.Mvc.Extensions
paket add RoutingExtensions.Midnight.Oil.Mvc.Extensions
RoutingExtensions.Midnight.Oil.Mvc.Extensions Download (Unzip the "nupkg" after downloading)





STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

983