Thanks for reaching out. Can you explain a bit more your scenario when you say “I want to use NServiceBus to synchronize two or more WebApis”? What kind of data are you planing to synchronize?
The EndpointConfiguration object is only used to create an instance of an endpoint. You pass that object into
Endpoint.Start(). That gives you back an endpoint / message session instance. That message session instance is the “communication object” that you pass to the controllers.
Have you looked at our MVC sample? That might help to clarify things
As you can see the Application start creates an endpoint and then registers that on the IoC container. The controller declares a dependency on
IEndpointInstance or preferably
IMessageSession and then calls the method it needs.
I would love to hear some feedback from you in what regards the CoreWebApi sample did not help. With your input, we might be able to optimize the sample to make it simpler to grasp.