-
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!
-
Debugging configuration values in ASP.NET Core
In this post I show how to use IConfigurationRoot.GetDebugView(), walk through its implementation, and describe how to expose the data as an API.…
-
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.…
-
Finding all routable components in a Blazor App
In this post I show how to find all the routable components in a Blazor app, so that you can automate the static prerendering of a Blazor WebAssembly app.…
-
Prerendering a Blazor WebAssembly app to static files, without an ASP.NET Core host app
In this post I show how to prerender all the pages in a Blazor WebAssembly app ahead of time, so you can host the app as static files, without a host app.…