From the course: Blazor: Getting Started

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

How does it work: Server-side Blazor

How does it work: Server-side Blazor - Blazor Tutorial

From the course: Blazor: Getting Started

Start my 1-month free trial

How does it work: Server-side Blazor

- Even though we're not using Blazor Server in this course it can be a useful tool and it's worth digging into some details, though we won't be going as deep as we did for WebAssembly. The goal here is understanding more about Blazor as a whole and when to choose Blazor Server for a future project. The Blazor team answered the first question we had in the last video about Blazor WebAssembly. Is this some sort of server side trickery with, well, what if it was? Blazor Server was born. The component model and all the rendering, etc, that go along with it can be used within the browser runtime but it runs just as well on the server. If Blazor Server is running all the code on the server, how is it different from something like web forums or active server pages? There are two main pieces: Signal R and application state. Signal R is a way to maintain an open connection from the client to the server. Rather than using…

Contents