- 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.
-
5 new MVC features in .NET 7
In this post I look at some of the new features introduced for MVC controllers in .NET 7…
-
Applying the MVC design pattern to Razor Pages
In this article from my new book we look in greater depth at how the MVC design pattern applies to Razor Pages in ASP.NET Core.…
-
Should you unit-test API/MVC controllers in ASP.NET Core?
In this post I discuss unit testing of API/MVC controllers in ASP.NET Core and some of the difficulties you face.…
-
When ASP.NET Core can't find your controller: debugging application parts
In this post I describe application parts, how ASP.NET Core uses them to find the controllers in your app, and how to list them.…
-
Creating a not-empty GUID validation attribute and a not-default validation attribute
In this post I describe an MVC validation attribute that verifies a GUID doesn't have the default Empty value. I also present a generalised version.…
-
Using an IActionFilter to read action method parameter values in ASP.NET Core MVC
In this post I shown how you can use an IActionFilter in ASP.NET Core MVC to read the method parameters for an action method before it executes.…
in ASP.NET Core MVC