Blazor Techtalk
Blazor Techtalk
Ryan Nowak
Developer & Architect, ASP.NET Core
@aVerySpicyBoi
C#
Demo: Build client web UI with Blazor
.NET
How client-side Blazor works
https://...
Razor Components
.NET
DOM
WebAssembly
Demo: Server Side Blazor
One Framework – two hosting models
Client-side Server-side
https://... https...
ASP.NET Core
Razor Components
DOM
.NET SignalR DOM
WebAssembly Razor Components
.NET
https://devblogs.microsoft.com/dotnet/introducing-net-5/
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
Request
ASP.NET Core https...
Page / View
HttpContext
SignalR
Component UI events / DOM updates
DOM
State
Response
Demo: Pages & Views with Components
One Framework – two hosting models
Client-side Server-side
https://... https...
ASP.NET Core
Razor Components
DOM
.NET SignalR DOM
WebAssembly Razor Components
.NET
https://aka.ms/blazorworkshop
What’s coming in Preview 6
Authentication & authorization
@namespace
@code
Directive attributes
Embeded static content
New `key` intrinsic for
component/element preservation
in lists
Try Blazor today!
Blazor: https://blazor.net
Docs: https://blazor.net/docs
.NET Core 3.0: https://dot.net/get-core3
Visual Studio: https://visualstudio.com/preview
Workshop: https://aka.ms/blazorworkshop
© Copyright Microsoft Corporation. All rights reserved.