the project is a core 3.1 web app that relies heavily on plugins loaded at runtime.
i am trying to build a plugin that has his own startup class and needs to publish/send messages when some events are fired.
as per the docs and samples, the only way to do that is to instantiate a host in the programs.cs\main entrypoint which is in the main application. this would break the plugin architecture we use.
is there a way to add nservicebus and create the endpoints, all from startup class ?