ivaylokenov / AspNet.Mvc.TypedRouting

A collection of extension methods providing strongly typed routing and link generation for ASP.NET Core MVC projects.
https://mytestedasp.net/
MIT License
485 stars 36 forks source link

Update to work with AspNet.MVC Core 1.0.0. #13

Closed skorunka closed 8 years ago

skorunka commented 8 years ago

System.TypeLoadException Could not load type 'Microsoft.Extensions.DependencyInjection.ServiceProviderExtensions' from assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

Line 139: routes.UseTypedRouting();

ivaylokenov commented 8 years ago

Package will be updated in the next 48 hours. :)

skorunka commented 8 years ago

Lovely, tried by myself but did not find a replacement for "controllerActionDescriptor.RouteConstraints" (ExpressionRouteHelper.cs, Line 73). Thanks.

ivaylokenov commented 8 years ago

@skorunka I am sorry for the delay but I have been sick today. Will update the package as soon as I get better.

ivaylokenov commented 8 years ago

@skorunka Updating currently. FYI - the RouteConstraints property was replaced by RouteValues - https://github.com/aspnet/Mvc/commit/af58c2e6b619697a1a57736e9e996bb4d7e6e7ee

ivaylokenov commented 8 years ago

@skorunka Package is now available on NuGet.

skorunka commented 8 years ago

@ivaylokenov Works! Great job mate.