- Loading...
-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.
-
Introduction to integration testing with xUnit and TestServer in ASP.NET Core
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.…
-
Use project.lock.json to troubleshoot dotnet restore problems
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 ASP.NET Core RC2 -
A deep dive into the ASP.NET Core CORS library
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.…
-
How to use the IOptions pattern for configuration in ASP.NET Core RC2
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…
-
How to add default security headers in ASP.NET Core using custom middleware
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.…
-
Model binding JSON POSTs in ASP.NET Core
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.…