With Blazor in .NET 8, you have the ability to change the render mode on a component-by-component basis for an interactive application.
Traditionally when setting up a Blazor project, you had to choose either the Server or WebAssembly hosting models.
But by using the @rendermode directive in a Razor component, you can specify which hosting model a particular component uses.
We'll also show you the difference between either creating a project on a per page/component basis, or by setting it as global and how a component defaults to the SSR render mode.
In-addition, there is a new "Auto" mode which combines Server and WebAssembly. The component is initially downloaded from the server, but is then downloaded to the browser for caching purposes.
📖 Learn Blazor WebAssembly with our three-part online course series 📖
https://www.roundthecode.com/dotnet-c...
👨💻Take our .NET and C# coding challenges👨💻
https://www.roundthecode.com/dotnet-c...
► More information:
https://www.roundthecode.com/dotnet-t...
🎥 SSR in Blazor 🎥
• Blazor & SSR launches its way into .N...
🎥 Playlist 🎥
• .NET 8 and C# 12 new features
► Chapters
0:00 What is a render mode in Blazor?
0:19 Creating a Blazor project
1:24 Server, per-page project
2:29 Server, global project
3:04 Learn Blazor WebAssembly
3:14 WebAssembly, per-page project
4:17 WebAssembly, global project
4:54 Auto, per-page project
5:57 Auto, global project
6:16 Why Blazor is great!
#blazor #blazorwebassembly