Sep. 13, 2018 - Blazor: Modern Web development with .NET and WebAssembly (Daniel Roth)
Friday, September 14, 2018 / mcchu28
Here are some notes on this video:
- .NET Code target Web Assembly so it can run in browser
- Get started with Blazor at https://blazor.net
- In Visual Studio, install Blazor extension https://marketplace.visualstudio.com/items?itemName=aspnet.blazor
- mono.wasm is the full .net runtime in web assembly
- debugging .NET code using chrome - run command to enable remote debugging (little bit flaky!!! - he has to clear local storage)
- use Javascript Interop to update the DOM based on the difference
- demo calling Javascript from .NET code - JSRuntime.Current.InvokeAsync<string>("example.ShowPrompt", message)
- demo Javascript calling .NET code
- demo using community library to store state in local storage (Blazor.Extensions.Storage)
- demo flight example
- Blazor (web worker) + Electron (desktop application)
- Server-side Blazor now called Razor Components (using signalR) - super fast startup time - shipped with ASP.NET Core 3.0 - preview available in early 2019
- Blazor 0.6.0 - render fragment template - shipped Sept
- chat using Gitter
|
|