Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning NServiceBus - Second Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning NServiceBus - Second Edition

Learning NServiceBus - Second Edition - Second Edition

By : David Boike
4.8 (6)
close
close
Learning NServiceBus - Second Edition

Learning NServiceBus - Second Edition

4.8 (6)
By: David Boike

Overview of this book

If you are a .NET developer who wants to eliminate the problems related to defective third-party web service integration or batch job failures, then this is the book for you. It is also perfect for those of you who are new to NServiceBus and service-oriented architecture and would like to learn how you can streamline all of your development efforts.
Table of Contents (12 chapters)
close
close
11
Index

Choosing an endpoint name


The endpoint name is very important as it drives the names of all the queues that NServiceBus creates. In an endpoint hosted by the NServiceBus.Host package, the endpoint name is automatically determined by locating the EndpointConfig class (the class that implements IConfigureThisEndpoint, which is automatically created for you when you include the NServiceBus NuGet package) and using the namespace of that class as the endpoint name. This is almost always the same as the Visual Studio project name, unless you have gone to lengths to change it.

When we are hosting NServiceBus on our own, there is no EndpointConfig, so instead, NServiceBus will default to the namespace of the class calling NServiceBus.Bus.Create().

We can, however, take control and explicitly set the endpoint name if we really want to:

cfg.EndpointName("MyEndpoint");

Keep in mind that the string need not be a constant. For example, we could pull in an appSetting, which would allow us to host Test and...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning NServiceBus - Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon