/BlazorApp

Blazor Server allows C# developers to create single page applications (SPA) on the web without using JavaScript. One of the features of a Blazor Server is the use of Razor Components.

Primary LanguageHTML

BlazorApp

Blazor is a Single Page Application development framework. The name Blazor is a combination/mutation of the words Browser and Razor (the .NET HTML view generating engine). The implication being that instead of having to execute Razor views on the server in order to present HTML to the browser, Blazor is capable of executing these views on the client.

Blazor app with client-side execution

Blazor WebAssemby and Blazor Server

In the server-side hosting model (Blazor Server-Side), Blazor is executed on the server from within an ASP.NET Core app. UI updates, event handling, and JavaScript calls are handled over a SignalR connection.

In the client-side model (Blazor WebAssembly), the Blazor app, its dependencies, and the .NET runtime are downloaded to the browser, and the app is executed directly on the browser UI thread. All UI updates and event handling happen within the same process.

Blazor Server vs Blazor WebAssembly