O'Reilly logo

Learning NServiceBus by David Boike

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Self-Hosting

We have already seen how simple NServiceBus makes it to turn a normal class library into a runnable messaging endpoint using the NServiceBus.Host process. The host process gives us many shortcuts that simplify setting up a messaging endpoint, and as we will see in Chapter 7, Administration, it even allows us to easily install an endpoint as a Windows service.

However, there are other host processes that we must be able to support. Chief among these are web applications, although it is possible to host NServiceBus within Windows Forms apps as well. We must be able to configure and host our messaging infrastructure within all these environments.

In this chapter we will learn how to use the NServiceBus fluent configuration to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required