Blazor
Blazor is a client-side web UI .NET framework targeted at
WebAssemblybased on HTML and CSS that runs in the browser using open web standards
- install Blazor CLI templates
dotnet new -i Microsoft.AspNetCore.Blazor.Templates - in VS install extension
aspnet.blazor - When a Blazor app is built and run in a browser:
- C# code files and Razor files are compiled into .NET assemblies.
- The assemblies and the .NET runtime are downloaded to the browser.
- Blazor uses JavaScript to bootstrap the .NET runtime (
blazor.webassembly.js) - and configures the runtime (
mono.wasm) to load required assembly references. - Document object model (DOM) manipulation and browser API calls are handled by the Blazor runtime via JavaScript interoperability.
calendar
| what | when |
|---|---|
| server | netcore30 |
| webassembly | may 2020 |
| pwa & electron | .net 5 preview |
| native | internal |
links
- Blazor home
- Awesome Blazor community
- tour of heroes demo clone
- workshop
videos
- Blazor: Modern Web development with .NET and WebAssembly, Daniel Roth, sep 2018
- Blazor and Azure Functions for Serverless Websites sep 2019
- Building Full-stack C# Web Apps with Blazor in .NET Core 3.0 sep 2019
- The Future of Blazor on the Client sep 2019