A simple solution to demonstrate how to implement a "plugin-like" behavior in a .net assembly.
In a "plugin-like" mode, the assembly knows how to register your own dependencies (like this or this, so, you just need to compile and copy the assembly to the program folder without needing to update the whole program.
I explored this concept in this blog post.
I Also provided three "Views", a console view, a Asp.Net Core Mvc View and a Asp.Net Mvc "Full Framework" View to show how to use this concept in different projects types.