Providing a basic implementation for loading and running plugins
In this demo, i m providing a basic implementation for loading and running plugins.
1️⃣
Example01
use default ioc and some reflection in order to load plugins2️⃣
Example02
use default ioc and scrutor in order to load pluginsIn order to run the demo, type those commands in your terminal :
dotnet run --project .\src\Example01\Example01.App
dotnet run --project .\src\Example02\Example02.App
💡 Plugins are copied on
plugins
folder on post build events and loaded at startup by the application.
Tools
: net 8.0, scrutor, fluent-validation