/awesome-blazor

Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.

Creative Commons Zero v1.0 UniversalCC0-1.0

Awesome Blazor Awesome

A collection of awesome Blazor resources.

Blazor is a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.

Contributions are always welcome! Please take a look at the contribution guidelines pages first. Thanks to all contributors, you're awesome and wouldn't be possible without you!

If you need to search on this list you can try this great website: Awesome Blazor Browser. Thanks @jsakamoto for this! Source code stars last commit.

Special event: "Blazor WebAssembly 3.2 Release Party!". [Over]

  • ASP.NET Community Standup - Blazor WebAssembly 3.2 Release Party!

Contents

Introduction

What is 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.

General

Sample Projects

Authentication

  • BlazorBoilerplate - stars last commit Real World Admin Dashboard / Starter kit with IdentityServer4 Material Design. Demo.
  • BlazorWithIdentity - stars last commit A sample project showcasing a Blazor app using EF Core with Identity authentication.
  • Authentication with client-side Blazor - stars last commit Authentication with client-side Blazor using WebAPI and ASP.NET Core Identity. Blog post.
  • BlazorAuthenticationSample - stars last commit A sample showing some of the ASP.NET Core Blazor authentication features (also some testing...).
  • Blazor.Msal - stars last commit 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.
  • Blazor.OpenId - stars last commit Easy authentication and client refresh using OpenId.
  • Blorc.OpenIdConnect - last commit The right way to use OpenID Connect on Blazor.
  • BlazorGraphApi - last commit Blazor Server App with AD Authentication, that calls the MS Graph API on-behalf of the signed-in user using Microsoft.Identity.Web.

Cloud

CMS

  • Blogifier - GitHub stars GitHub stars ASP.NET Core Blogging application with Blazor Admin Dashboard. Demo.
  • BlogCore - GitHub stars GitHub stars Modern CMS on Domain-driven Design and Clean Architecture patterns.
  • RapidCMS - stars stars A code-first, extensible Blazor app that generates a CMS for your own database.
  • WordDaze - stars last commit Blogging application written using Blazor with a WebAPI backend.
  • AcBlog - stars Last commit A blogging PWA that can be hosted as a full static website. GitHub Pages Demo.

Games

Hybrid experiments

Logging

  • Logging.Samples - last-commit Samples for .NET Core and ASP.NET Core logging using various logger frameworks.

Machine Learning

Mobile

ToDos

Others

  • Flight Finder - GitHub stars GitHub stars Flight Finder.
  • Oqtane Framework - GitHub stars GitHub stars Modular Application Framework for Blazor.
  • BlazorDesktop - GitHub stars last commit Native desktop Blazor app which not using Electron, by Steve Sanderson.
  • BlazorFileReader - GitHub stars GitHub stars Read-only File streams in Blazor. Demo.
  • BlazorElectronExperiment - GitHub stars last commit Status Exploring how a Blazor could be used to build a cross-platform desktop application using Electron.
  • Toss.Blazor - GitHub stars GitHub stars Twitter-like web application using Blazor.
  • BlazorChatSample - stars last commit Blazor chat demo using SignalR JS client with interop.
  • eShopOnBlazor - GitHub stars last commit Migration of a traditional ASP.NET Web Forms app to Blazor.
  • Blazor contacts - stars last commit A project template for OData API, IdentityServer4 auth, and server-side Blazor.
  • BlazorCRUD - GitHub stars GitHub stars Sample line of business application that illustrates key features of Blazor. Demo.
  • BlazeDown - GitHub stars GitHub stars BlazeDown, online Markdown editor. Demo.
  • Money - stars last commit A money manager implemented using CQRS+ES. Demo.
  • Runny - GitHub stars GitHub stars Prototype of running roslyn in the browser via Blazor. Demo.
  • Blazor Weather - GitHub stars GitHub stars A Blazor Weather sample app that shows the current weather for your current location and a collection of pinned locations. Demonstrated at .NET Conf 2019 by Daniel Roth. Demo.
  • NethereumBlazor - GitHub stars GitHub stars Ethereum blockchain explorer and simple wallet.
  • BlazorGrpc - GitHub stars GitHub stars Sample project that demonstrates how you can use the power of Blazor, ASP.NET Core, and gRPC to create a web application which can communicate with a backend that uses gRPC.
  • Gitter - GitHub stars GitHub stars A Blazor Gitter client.
  • Return - GitHub stars GitHub stars Realtime retrospective tool built in ASP.NET Core and Blazor.
  • BlazePort - GitHub stars GitHub stars A futuristic ride share app for space travel written in full stack .NET with Blazor.
  • BlazorGraphExample - stars last commit Example application for connecting to Graph API from Blazor.
  • BlazorDynamicList - GitHub stars GitHub stars Dynamic component binding for a generic list. Demo.
  • Blazor FIRE Calculators - GitHub stars GitHub stars Client-side financial calculators built using Blazor WebAssembly. Demonstrates custom number formatting and offline Progressive Web App (PWA) functionality. Demo.
  • Try F# on WebAssembly - GitHub stars GitHub stars The F# compiler running in WebAssembly with Bolero.
  • StarshipTraveler - GitHub stars GitHub stars A starship traveler demo app built with Blazor for the DevOne 2019 conference.
  • Blazor + Sitecore - GitHub stars GitHub stars Example of dynamic pages and routes with SiteCore and Helix.
  • BlazorServerTree - GitHub stars GitHub stars A simple Server-Side Blazor sample app to deal with hierarchical data.
  • BlazorBinding - GitHub stars GitHub stars Sample Blazor App demonstrating various data binding scenarios.
  • WebSocketPage - stars last-commit Web Socket in Blazor. demo.
  • C# Minifer last-commit A client-side Blazor application demonstrating live minification of C# code using the C# Minifier library. Demo.
  • BlazorPages - last-commit A sample client-side Blazor app showcasing automatic deployment to GitHub Pages via Azure Pipelines.
  • Pattern Maker - last-commit C# code transformation demo that uses Roslyn and Monaco Editor. Demo.
  • Tulsa .NET User Group website - Last commit Tulsa .NET User Group website.
  • Planning PokerLast commit An app to play Planning Poker for distributed teams. The app is implemented using Blazor and shows how to switch between client-side and server-side mode with a configuration change. Demo.
  • Gjallarhorn - Last commit Compare packages on different NuGet-sources. Demonstrating Client-Side Blazor MVVM-style.
  • C# Regex Tester online - Last commit Online tool for verify .Net regex syntax. (Demo).
  • Blazor Tour of Heroes - Blazor Tour of Heroes, using Blazor-State(State Management architecture utilizing the MediatR pipeline) for the Redux style state.
  • Blazor.Console - last commit A simple component to mock CLI for ASP.NET Core 3.0 Blazor applications to execute some custom commands for an application.
  • Cognitive Services Explorer - last commit PWA enabled app used to showcase what Cognitive Services can do, built-in client-side Blazor. Demo.
  • Blazor Wake-on-LAN - Last commit Wake-on-LAN app for local networks. Blazor Server + EF Core + DI + CI.
  • BlazorOCR - Last commit A Blazor WebAssembly application for reading receipts.
  • Dcidr - Last commit Blazor WebAssembly decision-making app with PWA (offline), localstorage, and Excel export. Demo.
  • BlazorForum - Last commit Forum application built with Blazor.
  • Blazor + Umbraco Heartcore - Last commit Example of using Umbraco Heartcore with Blazor.
  • BlazorGrpcWebCodeFirst - last commit Sample project that demonstrates how you can use gRPC-Web with Blazor WebAssembly hosted on ASP.NET Core. Publish and consume your services without having to create .proto files - with the code-first approach.
  • GTAVehicles - last commit Sample app to manage GTA vehicles. Demo.
  • BlazingWaffles - last commit A Blazor app that wraps Waffle Generator. The generator outputs readable gibberish that can be used in place of Lorum Ipsum. Demo.
  • Cærostris - last commit A Blazor Spotify client.

Tutorials

Libraries & Extensions

Components

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 last commit Connecting a Redux state store with Blazor.
  • Fluxor - GitHub stars last commit Zero boilerplate Flux/Redux library for DotNet. Formerly Blazor-Fluxor GitHub stars.
  • SignalR - GitHub stars last commit SignalR Core implementation for Blazor. It uses the JavaScript client.
  • Blazored.LocalStorage - GitHub stars last commit A library to provide access to local storage in Blazor applications.
  • Storage - GitHub stars last commit HTML5 Storage API implementation for Microsoft Blazor.
  • Blazor-State - GitHub stars last commit Manage client side state in Blazor using MediatR pipeline.
  • bUnit - a testing library for Blazor components - GitHub stars last commit A testing library for Blazor Components. You can easily define components under test in C# or Razor syntax and verify outcome using semantic HTML diffing/comparison logic. You can easily interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJsRuntime, and perform snapshot testing.
  • Logging - GitHub stars last commit Microsoft Extension Logging implementation for Blazor.
  • BlazorStorage - GitHub stars last commit Local and session storage support for Blazor.
  • Blazor.Auth0 - GitHub stars last commit The library for using Auth0 in Blazor applications.
  • BlazorDB - GitHub stars last commit In-memory, persisted to local storage, database for Blazor.
  • TextCopy - GitHub stars last commit A cross platform package to copy text to and from the clipboard. Supports Blazor via the Clipboard Browser API.
  • CssBuilder - GitHub stars last commit CssBuilder is a Builder pattern for CSS classes to be used with Razor Components.
  • BlazorSignalR - GitHub stars last commit SignalR Core .NET client library for Blazor. It uses the C# client.
  • Notifications - GitHub stars last commit HTML5 Notifications API implementation for Microsoft Blazor.
  • Blazor.Polyfill - GitHub stars last commit Polyfills for Blazor (for Internet Explorer 11 support and some other browsers).
  • Blazor I18n/Localization Text - GitHub stars last commit Localizing contents text in Blazor (Demo).
  • Blazor.Geolocation - GitHub stars last commit Blazor interop for browser Geolocation APIs.
  • Blazored.Localisation - GitHub stars last commit A library to provide localisation in client-side Blazor applications.
  • EmbeddedBlazorContent - GitHub stars last commit Library to load embedded content files (js and css) from Blazor libraries in server-side Blazor mode.
  • BlazorGoogleMaps - stars last commit Blazor interop for GoogleMap library.
  • Blazor.Payments - GitHub stars last commit Blazor Web Agent port of the Web Payment API standard developed by W3C.
  • Blazor SVG Helper - stars last commit Create SVG elements with children (circle, rectangle, image, text, and others) and render with RenderTreeBuilder.
  • Cortex.Net - GitHub stars last commit State management like MobX for .NET and Blazor. Documentation.
  • 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.
  • Howler.Blazor - A Blazor JSInterop wrapper for Howler.js, an audio library.
  • DataJuggler.Blazor.FileUpload - Wrapper for Steve Sanderson's BlazorFileInput component.
  • Cortex.Net - State management like MobX for .NET and Blazor.
  • Blazor.LazyStyleSheet - last commit Lazy loading for CSS style sheets.
  • Blazor.ScriptInjection - last commit Smart script tags in Blazor components, ideal for lazy loading of javascript files.
  • DnetIndexedDb - last commit Blazor Library for IndexedDB DOM API.
  • PkcsExtensions.Blazor - last commit A library to provide crypto and digital signature functionality for Blazor WebAssembly and light WebCrypto interop.

Others

  • Blazor Extensions Home - GitHub stars Home for Blazor Extensions.
  • Bolero - GitHub stars last commit Blazor for F# with hot reloaded templates, type-safe endpoints and routing, remoting, and much more.
  • BlazorMobile - GitHub stars last commit Launch Blazor as a mobile application on iOS, Android & UWP.
  • NObservable - GitHub stars last commit MobX-like observables and component instrumentation.
  • BlazorFabric - GitHub stars last commit Blazor port of Microsoft UI Fabric with fluent design. (Demo).
  • Blazor-Dashboard - GitHub stars last commit Admin Dashboard Template Theme for Blazor.
  • BlazorEmbedLibrary - GitHub stars last commit Provides Blazor-style embedded static content files for Razor Components projects.
  • BlazorWebView - GitHub stars last commit Blazor WebView control for WPF, Android, macOS, iOS. Run Blazor on .NET Core and Mono natively inside a Webview. Documentation.
  • WebSocketHelper - stars last commit Helper for Web Socket in Blazor.
  • BlazorLazyLoad - stars last commit BlazorLazyLoad is a implementation of assembly lazy load feature in Blazor WASM application on both page and component level.
  • SpotifyService - stars last commit A high-level Spotify API library for Blazor WebAssembly projects that enables Spotify playback in the browser, manages OAuth 2.0 authorization, provides easy access to the Spotify Web API and uses IndexedDB caching.
  • Bionic - An Ionic CLI clone for Blazor projects.
  • BlazorFileSaver - Blazor Component wrapper for FileSaver.js (Demo).
  • Blazor.DynamicJavascriptRuntime.Evaluator - Execute dynamic object expressions as Javascript in Blazor client-side apps.
  • Blazor.AdaptiveCards - Adaptive Cards for Blazor. Documentation.

Videos

Articles

Podcasts

Presentations slides

Tooling

Books

E-Books

Courses

Community

Other Languages

License

CC0

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