Introduction to the Blazor Server .NET 6
This tutorial will introduce you to Blazor Server for .NET 6. This tutorial includes:
- What make Blazor a stand-out framework?
- Hosting models in comparison.
- Tutorial series.
- Contribution to this series.
What make Blazor a stand-out framework?
the website then the code will be compiled to WebAssembly and run directly on the browser. Blazor also optimize the communication between browser and server by using WebAssembly instead of traditional JSON. In summary:
- Build a website with a strong type language (C#).
- Optimize communication between client and server by using WebAssembly.
- Optimize performance by using WebAssembly to execute logic on the browser.
Hosting models in comparison
|Access to server resource
|Built-in SignalR Core
|Built-in service worker?
|Validation and process
|Ready for production?
||By byte code
||By JSON, byte code
Blazor Server can be hosted on a web server (NGINX, Apache, ...), Azure AppService.
Blazor WebAssembly is a frontend website and can be hosted on Azure Static WebApp, Azure AppService, or a web server (NGINX, Apache, ...). For a full functional Blazor WebAssembly you need to combine with a backend technology (Azure
Function, Grpc, ASP.NET Web API).
After attending this tutorial series, you will confident in website development with Blazor Server. This tutorial series is for beginner to expert level with the following main points:
- Build an online store website.
- Blazor Server fundamentals.
- Built-in features.
- Advanced techniques.
- Hosting and deployment.
- Migrate to a new version.
Contributions to this series
Since 09-Dec-2021, Blazor School became a community documentation that means individual can improve tutorials from Blazor School.
Report problems or submit suggestions for future docs.
Contribute to Blazor community documentation by create a pull request on the Blazor School Docs repository.
Our community values respectful, supportive communication.