In this article, you will come to know about Microsoft Blazor technology. Stay tuned with me in the coming days you will learn step by step series of how to work with Blazor to develop the application.

You will get the answers to the following questions to get started on Blazor.

What is Blazor?

Blazor is the newest free .NET open-source frontend Web development Framework. It supports server-side and client-side. By using Blazor you can develop SPA (Single Page Application) and PWA (Progressive Web Application) that utilize the power of modern browser APIs to behave like a desktop / mobile app. Instead of using Javascript, Blazor uses .NET runtime and developers can develop interactive Web Apps with C# and HTML, CSS. Use can also use Javascript there is no restriction.

By using Blazor you can develop the following types of apps:

  1. Blazor Server
  2. Blazor WebAssembly.
  3. Blazor Hybrid and .NET MAUI

Progressive Web Application - PWA

Features of Blazor

What is Blazor Server?

One of the hosting model types of Blazor, it renders the UI on the server result sent to Client. SignalR is used for prompt communication between client and server. Blazor server can use all the .NET core API because it executes within ASP.NET Core application.

What is Blazor WebAssembly?

It’s a single page app (SPA) framework for building interactive client-side web apps with .NET. It's responsible for executing C# code on the client side.

General Terms/Definition of WebAssembly: WebAssembly abbreviation is WASM. WebAssembly is a binary code format and a corresponding text format that executable code in a client-side web browser.

Project Templates

In Visual Studio 2022 Community Edition there are five different types of templates.

Blazor Projects Tempalte

Blazor Server execute on server with the power of Asp.Net core API and uses SingalR to update the client whereas Blazor WebAssembly execute in the browser with the power of SPA and PWA.

In short, Blazor is one kind of opportunity to all .NET developers to develop SPA, PWA type of applications. In the next article, you will learn more about the project structures of Blazor Server, and Blazor WebAssembly.