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.
Rendering Blazor components to a string
Exploring the .NET 8 preview - Part 9
In this post I describe how to render Blazor components to a string, how to use HtmlRenderer in ASP.NET Core, and show what does and doesn't work…
Using Source Generators with Blazor components in .NET 6
In this post I describe a problem where upgrading my Blazor app to .NET 6 broke my source generators that relied on Blazor components.…
Adding authentication to a Blazor Server app using Auth0
In this post I show how to add authentication to a Blazor Server application using Auth0.…
Using source generators with a custom attribute to generate a menu component in a Blazor app
In this post I extend my previous post and create a source generator that can specify the icon and order of items in a nav menu component…
Using source generators to generate a menu component in a Blazor app
In this post I show how to create a source generator that can be used to automatically update a Blazor app's menu component when a new component is added…
Using source generators to find all routable components in a Blazor WebAssembly app
In this post I show how to use a source generator to find all the routable components in a Blazor app.…