Search code examples
blazorblazor-server-sideasp.net-core-3.0blazor-client-side

How to use both Blazor client and server in same web


I'm learning about the Blazor, and see benefit of 2 types client-side and server-side.

I want to use both on the same web e.g. one path is a client-side WebAssembly app, another path is a server-side that run code in server.

I have seen Blazor Full-Stack template (not quite understand) but it missing from latest templates package. Did they remove it on purpose? (only 2 left Blazor Server App and Blazor WebAssembly App)

I download templates from this command.

dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview9.19465.2

Can client-side and server-side work together?


Solution

  • It is not officially supported or build, but, it is in theory possible. However, it is something they are looking into.

    Source (start watching from 28:35): https://youtu.be/qF6ixMjCzHA?t=1715