7 Star 38 Fork 6

Blazor / Learn Blazor

加入 Gitee
与超过 800 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件


这是一个根据 Awesome 翻译并重新整理了资源了的Blazor学习网站,我会优先手机那些中文,然后是翻译了的资料,其次是英文的资料!同时非常欢迎大家一起为Blzaor添砖加瓦。

Blazor 是一个 .NET 的Web框架, 它使用C#/Razor 和 HTML通过WebAssembly运行在浏览器里.

Awesome Blazor


什么是 Blazor

Blazor is a .NET web framework to build client web apps with C#.

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. More information on the official Blazor website.

Get started

To get started with Blazor, follow the instructions in the Blazor Get Started documentation.

To open Blazor projects in Visual Studio, you must have Visual Studio 2019 16.3 or later and the .NET Core 3.0 SDK.

Note: the Blazor Visual Studio extension is no longer required since .NET Core 3.0 Preview 7. Uninstall the extension if you still have it installed.


Sample Projects


  • BlazorBoilerplate - GitHub stars GitHub stars Real World Admin Dashboard / Starter kit with IdentityServer4 Material Design. Demo.
  • BlazorWithIdentity - GitHub stars GitHub stars A sample project showcasing a Blazor app using EF Core with Identity authentication.
  • Blazor.JWTTest - GitHub stars GitHub stars JWT authentication for a Blazor hosted (Client/Server-side) app with API and Authentication.
  • BlazorAuthenticationSample - GitHub stars GitHub stars A sample showing some of the ASP.NET Core Blazor authentication features (also some testing...).
  • Blazor.OpenId - Easy authentication and client refresh using OpenId.
  • Blazor.Msal - Sample implementation for MSAL in Blazor, it shows how to integrate a Single Page Web Application made in Blazor WebAssembly with Azure Active Directory. It allows to authenticate the user and then acquire an access token to make a secure call to an external API. The code internally uses MSAL.js to implement the OpenID Connect and OAuth2 flows.



  • BlogCore - GitHub stars GitHub stars Modern CMS on Domain-driven Design and Clean Architecture patterns.
  • WordDaze - GitHub stars GitHub stars Blogging application written using Blazor with a WebAPI backend.
  • RapidCMS - GitHub stars GitHub stars A code-first, extensible Blazor app that generates a CMS for your own database.


Machine Learning

  • Scalable sentiment analysis - GitHub stars GitHub stars A sample ables to make sentiment analysis prediction/detection of what the user is writing in a very UI interactive app (Blazor based) in the client side and running an ML.NET model (Sentiment analysis based on binary-classification) in the server side.
  • PropertyPrices - A blazor front-end site that provides analysis and ensemble learning predictions (through SharpLearning) of property prices in the UK.




Libraries & Extensions


Reusable components like buttons, inputs, grids and more.

Tools & Utilities

Libraries and extensions for state management, cookies, local storage and other specific tools.

  • Blazor-Redux - GitHub stars Connecting a Redux state store with Blazor.
  • Blazor-Fluxor - GitHub stars A low-boilerplate Flux/Redux state library for Blazor.
  • SignalR - GitHub stars SignalR Core implementation for Blazor. It uses the JavaScript client.
  • Blazor-State - GitHub stars Manage client side state in Blazor using MediatR pipeline.
  • Storage - GitHub stars HTML5 Storage API implementation for Microsoft Blazor.
  • Logging - GitHub stars Microsoft Extension Logging implementation for Blazor.
  • Blazored.LocalStorage - GitHub stars A library to provide access to local storage in Blazor applications.
  • BlazorStorage - GitHub stars Local and session storage support for Blazor.
  • BlazorDB - GitHub stars In-memory, persisted to local storage, database for Blazor.
  • BlazorSignalR - GitHub stars SignalR Core .NET client library for Blazor. It uses the C# client.
  • Blazor.Auth0 - GitHub stars The library for using Auth0 in Blazor applications.
  • Notifications - GitHub stars HTML5 Notifications API implementation for Microsoft Blazor.
  • Blazor.Polyfill - GitHub stars Polyfills for Blazor (for Internet Explorer 11 support and some other browsers).
  • Blazor I18n/Localization Text - GitHub stars Localizing contents text in Blazor (Demo).
  • CssBuilder - GitHub stars CssBuilder is a Builder pattern for CSS classes to be used with Razor Components.
  • Blazor.Payments - GitHub stars Blazor Web Agent port of the Web Payment API standard developed by W3C .
  • Blazored.Localisation - GitHub stars A library to provide localisation in client-side Blazor applications.
  • Blazor.Geolocation - GitHub stars Blazor interop for browser Geolocation APIs.
  • EmbeddedBlazorContent - GitHub stars Library to load embedded content files (js and css) from Blazor libraries in server-side Blazor mode.
  • Blazor Time Zone Kit - GitHub stars A library to provide system time zones and local time zone initialization in Blazor apps.
  • BlazorGoogleMaps - stars Blazor interop for GoogleMap library.
  • Blazor SVG Helper - stars Create SVG elements with children (circle, rectangle, image, text, and others) and render with RenderTreeBuilder.
  • Razor components testing library - A library for testing Razor Components that renders the components as HTML and compares the result to an expected result, using the XMLDiff library and Shouldly for writing out error messages.
  • Blazor Analytics - Blazor extensions for Analytics.
  • BlazorPrettyCode - Blazor Code Component for documentation sites. Demo.
  • Blazor.EventAggregator - Lightweight Event Aggregator for Blazor (Razor Components).
  • Blazor Gamepad - Provides gamepad API access for Blazor.
  • Blazor Hotkeys - A library to provide configuration-centric keyboard shortcuts for Blazor.
  • BlazorRealm - Redux state management for Blazor.
  • Blazor.LocalFiles - Open files in your browser and load into Blazor.
  • Blazor.Sensors - Blazor interop for browser sensor APIs.
  • Rudder - Efficient state container for Blazor with concepts similar to the ones in redux, including reducers and sagas.
  • BlazorIntersectionObserver - A Blazor wrapper for the Intersection Observer API.
  • Blazor.SpeechSynthesis - A library to provide Speech Synthesis API access for Blazor.
  • Blazor BarCode – A barcode library for Blazor using barcode fonts.
  • BlazorState.Redux - Develop Blazor apps with Redux.
  • BlazorLeaflet - BlazorLeaflet is a wrapper offering easy-to-use Blazor components that expose the Leaflet API in C#.
  • Simple logging server - An ultra simple remote log message server written in Blazor and .NET Core 3.





Presentations slides






Other Languages



To the extent possible under law, Adrien Torris has waived all copyright and related or neighboring rights to this work.


一个中文的Blazor学习网站, 致力于Blazor 在国内的推广使用 展开 收起






Learn Blazor