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?

4

1 回答 1

1

是的,这里是文档的链接:

您还可以查看我们的示例项目以获取有关如何执行此操作的示例,请参阅https://github.com/NServiceBus/NServiceBus/tree/master/Samples/AsyncPagesMVC3

还有一个使用 MVC4 的示例,但它针对尚未发布的 NServiceBus v4,请参阅https://github.com/Particular/NServiceBus/tree/develop/Samples/VideoStore.Msmq/VideoStore.ECommerce

于 2013-03-18T22:18:17.733 回答