https://github.com/dazinator/blazorplugins
Dynamically load plugins into your blazor applications
https://github.com/dazinator/blazorplugins
Last synced: about 1 year ago
JSON representation
Dynamically load plugins into your blazor applications
- Host: GitHub
- URL: https://github.com/dazinator/blazorplugins
- Owner: dazinator
- Created: 2019-06-22T01:46:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-24T12:45:47.000Z (almost 7 years ago)
- Last Synced: 2024-05-22T22:23:57.142Z (about 2 years ago)
- Language: C#
- Size: 301 KB
- Stars: 16
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BlazorPlugins
A work in progress, experimenting with loading plugins into a blazor application at runtime.
1. Build the "Plugin.Weather" project. This spits out a plugin assembly to `[Your-Project-Path\bin\Debug\netstandard2.0\dist\_framework\_bin\Plugin.Weather.dll`
2. Launch the blazor app, click on the button next to the plugin to load it from the server.

3. The app loads the plugin from the server, and then executes it. The plugin adds a `NavItem` to the `NavMenu`.

Note this is very much a work in progress, still lots of things to address:
1. How to unload / reload a plugin?
2. Hot can the plugin include it's own page / components?