My new book ASP.NET Core in Action, Second Edition is available now! It supports .NET 5.0, and is available as an eBook or paperback. You even get a free copy of the first edition of ASP.NET Core in Action!
In this series I describe how to use middleware as an MVC filter to add request localisation to your app.…
In this post I'll show how to use the FormatFilter, so that you can specify the output format for an action using a URL suffix, e.g. /api/values.xml as XML.…
This post takes a look at data tokens and how to use them to provide route information in your apps, but generally I recommend avoiding them if you can.…
In this post, I'll show how we can create a custom route constraint to help prevent invalid route matching, and add additional routes to catch 404 errors.…
Stay up to the date with the latest posts!