Use the Rhino service bus on an ASP.NET website using Ninject

I want to add Rhino Service Bus to my ASP.NET web application, but using Ninject as a DI container. So far, all the examples that I see use Castle Windsor, which I do not want to use, since we already use Ninject.

Are there any tutorials that show how to add Rhino Service Bus to an ASP.NET web application without a direct dependency on Castle Windsor (e.g. using Ninject)?

+3
source share
2 answers

Basically, you have to start by rewriting RhinoServiceBusFacility / AbstractRhinoServiceBusFacility as a Ninject module. Then there are also links to Castle in other files, for example. DefaultServiceBus contains links to IKernel, which should be changed instead of using the Ninject kernel.

+3
source

Rhino Service Bus (RSB) is currently not directly dependent on Castle. Modules are available for integration with Autofac , Spring.net , Unity , StructureMap, and of course Castle .

Ninject ; .

+1

Source: https://habr.com/ru/post/1758422/


All Articles