A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
Hi @Esteban Loiseau ,
The dropdown keeps snapping back to .NET 7 because the Hosted Blazor WebAssembly project template was dropped in .NET 8. For new Blazor work on .NET 8 and up, Microsoft points you to the Blazor Web App template instead: Tooling for ASP.NET Core Blazor.
You can still build the two-client setup, it's just not a template anymore, so you wire it up by hand. The article you linked still holds up for that part: give each client its own StaticWebAssetBasePath, then route each app by subpath or port with MapWhen, UseBlazorFrameworkFiles, and MapFallbackToFile.
For a new build, I would suggest one of these:
- Go with Blazor Web App and the WebAssembly render mode to stay on the current path.
- Or keep two standalone Blazor WebAssembly clients talking to one shared ASP.NET Core Web API backend, if you really need them as separate apps.
And if this is an existing hosted solution you're upgrading rather than a new one, those keep getting product support across releases: Secure a hosted ASP.NET Core Blazor WebAssembly app with Microsoft Entra ID.
If you found my response helpful, I would greatly appreciate it if you could follow this guidance. Thank you.