This is a sample Orchard Core CMS project to demonstrate Orchard Core modules using server-side Blazor components. The idea is to be able to build a modularized CMS website using server-side Blazor. If you are planning to build a decoupled CMS websites or a Blazor-only SPA then another approach might be required.
Please note, that implementing a workaround was required to make Blazor static contents (e.g. blazor.server.js) accessible. See: https://github.com/OrchardCMS/OrchardCore/issues/2966#issuecomment-555506779
Blazor Sample
recipe. You can use any recipe but make sure to enable the OrchardCoreBlazorSample.Theme
theme and the OrchardCoreBlazorSample.Module1
and OrchardCoreBlazorSample.Module2
modules./test/module1
and /test/module2
URLs.OrchardCoreBlazorSample.Web/Startup.cs
OrchardCoreBlazorSample.Module1/Startup.cs
OrchardCoreBlazorSample.Module2/Views
(see all files)OrchardCoreBlazorSample.Module2/Views
(see all files)OrchardCoreBlazorSample.Theme/Views/Layout.cshtml