Curia Damiano's blog
  • Home
  • Contact
  • Author
  • Help
Subscribe
Tagged

Blazor

A collection of 1 post

Blazor Client: multiple root components
.NET

Blazor Client: multiple root components

In Blazor Client (i.e. WASM) it's possible to have multiple root components on the same page. This is possible with the WebAssemblyHostBuilder.RootComponents collection. Let's play a bit and try it. First, from Visual Studio, create a new Blazor client application: choose the Blazor WebAssembly template: no ASP.NET

  • Curia Damiano
Curia Damiano May 31, 2023 • 3 min read
Curia Damiano's blog © 2023
Powered by Ghost