Building Full-Stack C# Web Apps With Blazor in .NET Core 3.0
Building Full-Stack C# Web Apps With Blazor in .NET Core 3.0
net
Building Full-stack C# Web Apps with
Blazor in .NET Core 3.0
Daniel Roth
https://...
JS
Blazor
• Build client-side web UI with .NET instead of JavaScript
• Write reusable web UI components with C# and Razor
• Share .NET code with both the client and the server
• Call into JavaScript libraries & browser APIs as needed
C#
.NET
How Blazor WebAssembly works
https://...
Razor Components
.NET
DOM
WebAssembly
Blazor on client or server
Blazor WebAssembly Blazor Server
https://... https...
.NET Core
Razor Components
DOM
.NET SignalR DOM
WebAssembly Razor Components
.NET
Con: Con:
- Larger download size - Latency
- Requires WebAssembly - No offline support
- Still in preview - Consumes more server resources
May 2020 .NET Core 3.0
Get started with Blazor
• Go to https://blazor.net
• Install .NET Core 3.0
• Install the Blazor WebAssembly template
• (Windows) Install Visual Studio 2019 16.3
• (Mac/Linux) Install Visual Studio Code with the C#
extension
Blazor .NET
Build your own pizza store UI with Blazor
https://aka.ms/blazorworkshop
“Telerik UI for Blazor components have been built from the ground-up
to ensure you experience shorter development cycles, quick iterations
and cut time to market”
https://www.telerik.com/blazor-ui