Chapter 12: Hosting an ASP.NET Core Blazor Application in WinUI

Blazor is a web framework from Microsoft that allows .NET developers to create C# web applications with little to no JavaScript code. Server-side Blazor applications were introduced with ASP.NET Core 3.0, and ASP.NET Core 3.2 added the ability to create client-side Blazor web apps with WebAssembly (Wasm). Wasm (https://webassembly.org/) allows runtimes such as .NET and Java to run in web applications in the browser, and it is supported by all the major browser engines. By leveraging the new WebView2 control in WinUI, Windows developers can run a cloud-hosted Blazor application inside their WinUI client application.

In this chapter, we will cover the following topics:

  • Learning some ...

Get Learn WinUI 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.