Closed skorunka closed 8 years ago
@skorunka Was this working before? Can you provide me the controller code and your Startup class?
This can happen in two scenarios:
I believe I need to put a friendlier exception.
@ivaylokenov You are right. i forgot to use extension "UseTypedRouting" in Startup. Better exception or text would be nice. Thank you.
I will keep this open in order to implement a friendlier exception message when people forget to call that method.
_Layout.cshtml:
@(this.Url.Action<TestController>(x => x.Index()))
results in: