14. What is web assembly?
• Also known as: Wasm, WA
• Developed by joint forces – Mozilla, MS, Google, Apple
• Web standard with ASM-like syntax and capacity to be
executed nearly as fast as machine code
19. Meet Blazor
• Browser + Razor = Blazor
• Basically .cshtml with codebehind executed in browser
• Has js fallback on browsers without WASM support
• Uses .NET Runtime running on WASM to execute .NET
Assemblies
• Introduced by Steve Sanderson in 2017
22. How it works in 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 JS to bootstrap the .NET runtime
• Your .NET assemblies run on .NET runtime in browser
https://blazor.net/docs/introduction/index.html
24. Components
• Similar to modern front-end components (ie. React)
• Any .cshtml file in Blazor project
• Name of the component and class equals file name
49. Hosting
• Publish anywhere
• Nope, Windows is not required on your environment
• Nope, .NET is not required on your environment
• You still need energy, internet and some server to host it tho
51. Why we should use it?
• It’s easy, fun and development is pretty fast
• It doesn’t have NaNs
• [ ] + { } equals { } + [ ] which equals to compilation error
• We love new stuff
52. Why you should use it?
• It’s easy, fun and development is pretty fast
• It doesn’t have NaNs
• [ ] + { } equals { } + [ ] which equals to compilation error
• We love new stuff
53. Community projects
• Calculators
• Chess
• Snake
• Asteroids
• Libraries and Components
• Blazor + Electron
• Charts
• SignalR support
• Redux
• And more… see https://blazor.net/community.html