Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.05 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.05 KB

Plugin based .NET Core 3 Blazor Demo

This project shows the possibility to load external razor libs as plugins to a Blazor App.

Goals

The aim was to be able to load external assemblies into existing app and be able to use razor pages and components defined in those libs. I also took the time to investigate patterns for moving the layout files into a common lib (Layout), That way if I was to create another host (Razor web app) i could reuse the layout and have a seamless look and feel between the apps.

Blazor Demo

How to run

Build solution

  • Plugin1 and Plugin2 have AfterBuild targets to CopyOutputToDestination "Host1\Plugins"

Set Startup Projects to "Host1" Run application using, Run->Host1.

Prerequisites

  • .NET Core 3 SDK