News

You can take advantage of custom route constraints in ASP.NET Core to validate route values and avoid passing unwanted or unnecessary requests to action methods.
Take advantage of route constraints in minimal APIs to prevent unwanted requests from reaching your action methods and improve the security and performance of your ASP.NET Core applications.
A contrived example: Say we have two types of tools: hammers and wrenches. We have a list of work orders, and we want to track what tool was used for the hammering and what was used for the ...