I am working on a service fabric application. Specifically, I am adding a CommandInstanceHandler which listens to messages from the service bus..
From the CommandInstanceHandler, I want to call a method in the Controller. However, it's not as simple as instantiating a new instance of the controller and calling the method. The controller is instantiated at startup with several dependency injection.
Is there a way to access the instance of the controller which was instantiated at startup (with all the dependency injections) from a class in the same service fabric application?