Book Image

Learning NServiceBus Sagas

By : Richard L Helton
Book Image

Learning NServiceBus Sagas

By: Richard L Helton

Overview of this book

Table of Contents (13 chapters)

Deployment


All applications are executable, except the saga, which we developed as a DLL because of the use of NServiceBus.Host.exe. This is a program and package from NSB to provide hosted deployment from NSB, in which we can install the DLL as a managed service and add endpoints and many other features that NSB hosts bring to the table. When we debug the program, we start the saga DLL using the NServiceBus.Host.exe program. See the following project properties:

To run the program as a console application, we could simply use NServiceBus.Host.exe CreditCardSaga.dll as shown in the following screenshot:

We could also use the NServiceBus.Host.exe\install to install the program as an NSB-managed service. For more details on NSB hosting, please visit http://docs.particular.net/nservicebus/the-nservicebus-host. Next, let's look at the insight.