Archive From April 2019

Using Parameter Transformers To Modify Route And Parameter Values In Razor Pages

29 April 2019 08:45

ASP.NET Core Razor Pages

Available from ASP.NET Core 2.2, parameter transformers enable the centralisation of logic for modifying the value of routes and route parameters in URLs generated by the anchor tag helper or the Url helper.

Click to read more about Using Parameter Transformers To Modify Route And Parameter Values In Razor Pages ...

Creating Custom Constraints For Razor Pages Routes

01 April 2019 09:16

ASP.NET Core Razor Pages

Razor Page already includes a wide range of constraints that can be used to help disambiguate routes. It is also possible for you to create your own custom constraint and then register that with the routing system.

Click to read more about Creating Custom Constraints For Razor Pages Routes ...