Skip to content

OrchardCore application with custom theme and module with Blazor components

License

Notifications You must be signed in to change notification settings

mono-wallace/OrchardCore-with-blazor-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OrchardCore with blazor components sample

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 components mixed in the MVC architecture. If you are planning to build a decoupled CMS websites or a Blazor-only SPA then another approach might be required. This repository is based on an sample in this repository: https://github.com/barthamark/Orchard-Core-Blazor-Sample

How to use this sample

  1. Clone the repository, restore and build. Please note that the solution uses the preview version of Orchard Core (1.9.0-preview-18170) build, support for this package might drop in the furure.
  2. Set up the Orchard Core website using the Blazor Sample recipe. You can use any recipe but make sure to enable the MyTheme.OrchardBlazor theme and the BlazorEnabledModule module.
  3. You can test Blazor components under the /home/index URL, (this should also be the landing page served as the root of the site).
  4. Explanations are in the comments. Please make sure you go through the source code, more specifically go to:
  • BlazorEnabledModule/Startup.cs
  • BlazorEnabledModule/Views (see all files)
  • MyTheme.OrchardBlazor/Views/Layout.cshtml

About

OrchardCore application with custom theme and module with Blazor components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published