Skip to content

bjoka042/blazor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published