Let’s start a journey to Learn Blazor Quickly in Simple Steps.

Complete Source Code on Github

What is Blazor?

Blazor lets you build interactive web UIs using C# instead of JavaScript. Blazor apps are composed of reusable web UI components implemented using C#, HTML, and CSS. Both client and server code is written in C#, allowing you to share code and libraries.

Reference: https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor

ASP.NET Core Blazor has 2 hosting models

  • Blazor WebAssembly
  • Blazor Server

Blazor WebAssembly

Blazor WebAssembly The Blazor app, its dependencies, and the .NET runtime are downloaded to the browser. The app is executed directly on the browser.

Blazor Server

Blazor Server hosting model, the app 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.

Both Definitions is referred to from the below link.

Reference: – https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-models?view=aspnetcore-5.0

If you are new to Blazor then you must see