0

In the examples, most of the config is done by the dev by changing AsA_Server to AsA_Client.

public class EndpointConfig : IConfigureThisEndpoint, AsA_Client { }

However, I can't seem to do that with an ASP.NET MVC4 app.
Do I have to manually configure everything in a web environment?

ton.yeung
  • 4,793
  • 6
  • 41
  • 72

1 Answers1

1

Yes, here are links to the documentation:

You can also have a look at our sample projects for examples on how to do it, see https://github.com/NServiceBus/NServiceBus/tree/master/Samples/AsyncPagesMVC3

There is also a sample that uses MVC4 but that is against NServiceBus v4 which has not been released yet, see https://github.com/Particular/NServiceBus/tree/develop/Samples/VideoStore.Msmq/VideoStore.ECommerce

John Simons
  • 4,288
  • 23
  • 41
  • http://stackoverflow.com/questions/15486503/configuring-nservicebus-with-asp-net-mvc4-and-structuremap shows how far I got following that documentation. Errors out with: 'MessageForwardingInCaseOfFaultConfig' configuration section is missing and could not find backup configuration section 'MsmqTransportConfig' in order to locate the error queue. – ton.yeung Mar 18 '13 at 22:22
  • I think the example is here now https://github.com/Particular/NServiceBus/tree/develop/Samples/VideoStore.Msmq/VideoStore.ECommerce – Peter Oct 31 '13 at 02:57