-
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!
-
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.…
-
How to automatically choose a free port in ASP.NET Core 3.0
In this post I show how to tell ASP.NET Core to use a random free port on startup, instead of a static value. I also show how to retrieve the value.…
-
5 ways to set the URLs for an ASP.NET Core app
In this post I describe 5 different ways to set which URLs your ASP.NET Core application listens on.…
-
Accessing route values in endpoint middleware in ASP.NET Core 3.0
In this post I describe how you can access the route values from middleware when using endpoint routing in ASP.NET Core 3.0.…
-
Replacing AJAX calls in Razor Pages with Razor Components and Blazor
In this post I show how you can get AJAX-like behaviour in your Razor Pages by using Razor Components and Blazor…