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 post I'm going to demonstrate how to create some simple functional/integration tests using xUnit and TestServer for testing ASP.NET Core applications.…
This is a quick post about how to troubleshoot problems using dotnet restore, where it is fails to restore packages due to an error in your project.json…
In this post I'm going to dive in to the code of the MVC Cors library, looking at some of the patterns the ASP.NET Core team have used in their infrastructure.…
In this post I demonstrate the power of the IOptions<> pattern for configuration in ASP.NET Core, and describe a few of the problems you may run in to…
In this post I'm going to show how you can easily extend the existing middleware to add additional security headers, like X-Frame-Options, to your requests.…
In this post, I am going to show what to do if you are converting a project to ASP.NET Core and you discover your JSON POSTs aren't working.…
Stay up to the date with the latest posts!