WebAssembly is moving beyond the browser and is pitched to become a foundational element of modern cloud-native architecture. It lets any language compile to universal binaries that run on any OS or processor, robustly sandboxed and with great performance.
This session covers a new approach to running .NET in WASI environments. You’ll see how your existing .NET code could be built into WASI-compliant modules, plus the opportunities this opens. This is experimental, not yet a committed product.
Additional Resource:
Host and deploy ASP.NET Core Blazor WebAssembly -- https://docs.microsoft.com/aspnet/core/blazor/host-and-deploy/webassembly
Publish a Blazor WebAssembly app and .NET API with Azure Static Web Apps -- https://docs.microsoft.com/learn/modules/publish-app-service-static-web-app-api-dotnet/
Recommended Next Step:
Learn at Build -- https://aka.ms/LearnatBuild/?wt.mc_id=build22_ondemand_webpage_esc
00:00 Introduction
00:10 Steve Sanderson, Principal Software Engineering Lead, Microsoft
01:08 What is web assembly?
02:33 WASI (Web Assembly System Interface)
03:46 Why would you want your code to be running inside a Wasm sandbox?
04:38 Benefits of having WASI representing the ABI between a host and app
06:36 Why you can't run .NET in this environment
06:57 Building a Blazor WebAssembly application
08:45 What is the wasisdk?
09:37 Demo; Experimental .NET SDK for WASI
12:20 Wasmtime
15:48 Can you use the more advanced features of ASP.NET Core?
18:57 Example of what you should not do.
22:28 Examples; actual hosts
24:36 Demo: ASP.NET Core on Sat (from Suborbital)
Microsoft Build 2022