New blazor project taking into account blazor united #50699
-
Hello. We want to start a new blazor project now (using .net 7) and take blazor united into account (we can´t use the .net 8 preview version). Thanks for your suggestions! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The new functionality in the "Blazor Web App" template is basically the evolution of what is in Blazor Server hosting mode - but with support for SSR, render modes, enhanced navigation etc. The rest of the Blazor features are available to all hosting model, incl. Blazor WASM. So what should you start with? It depends on where you put most of your logic. If you consider having a lot of logic on the client, start with Blazor WASM, and then you can easily attach the project to the server hosting project. Otherwise, choose Server. The minimal thing you will need to do, apart from learning how to deal with SSR (the harder part), is to change some things in your But if you are not planning to release very soon, why not already start with .NET 8 RC? |
Beta Was this translation helpful? Give feedback.
The new functionality in the "Blazor Web App" template is basically the evolution of what is in Blazor Server hosting mode - but with support for SSR, render modes, enhanced navigation etc. The rest of the Blazor features are available to all hosting model, incl. Blazor WASM.
So what should you start with? It depends on where you put most of your logic.
If you consider having a lot of logic on the client, start with Blazor WASM, and then you can easily attach the project to the server hosting project.
Otherwise, choose Server.
The minimal thing you will need to do, apart from learning how to deal with SSR (the harder part), is to change some things in your
Program.cs
.But if you are not p…