Using NServiceBus with Asp.Net MVC 2

前端 未结 3 2143
日久生厌
日久生厌 2021-01-31 23:51

Is there a way to using NServiceBus with Asp.Net MVC 2? I want to send a request message from a Asp.Net MVC2 Application to a Service, which handle the message and reply with a

3条回答
  •  醉酒成梦
    2021-02-01 00:04

    If this is a greenfield project, I would strongly recommend thinking about using Command Query Separation pattern which would help you logically separate concerns regarding that change state in the business domain (command) and queries which acts only as state description mechanism. Then Commands can be implemented in NServiceBus and Queries using WCF for instance.

提交回复
热议问题