-
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. You even get a free copy of the previous editions of ASP.NET Core in Action!
-
Adding client-side validation to ASP.NET Core, without jQuery or unobtrusive validation
In this article I describe how to use the aspnet-client-validation library to provide client-side validation instead of relying on jQuery.…
-
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…
-
Fighting with nullable reference types in Razor Pages
In this post I discuss C#'s nullable reference types in the context of Razor Pages, why they don't play nicely together and how to improve the experience.…
in Razor Pages C# -
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.…
-
Using jQuery and Bootstrap from a CDN with fallback scripts in ASP.NET Core 3.0
In this post I show how to update the default Razor layouts to load CSS and JS files from a CDN, and how to configure local fallbacks with SRI protection.…
-
Preventing mass assignment or over posting with Razor Pages in ASP.NET Core
Mass assignment or over-posting is something to bear in mind when building ASP.NET Core apps. In this post I discuss how to stay safe when using Razor Pages.…