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 MASTERING NSERVICEBUS AND PERSISTENCE
  • Table Of Contents Toc
MASTERING NSERVICEBUS AND PERSISTENCE

MASTERING NSERVICEBUS AND PERSISTENCE

By : Richard L Helton
4 (3)
close
close
MASTERING NSERVICEBUS AND PERSISTENCE

MASTERING NSERVICEBUS AND PERSISTENCE

4 (3)
By: Richard L Helton

Overview of this book

This book is intended for developers, designers, and architects alike who wish to build C# NServiceBus enterprise architectures and learn how ESB persists data and messages to help them attain their goals. No prior knowledge of persistence in NServiceBus is required.
Table of Contents (10 chapters)
close
close

The SQL Server example

One of the many benefits of using SQL Server to persist sagas, timeouts, logging, and messages is that Visual Studio has many capabilities if it's used in EF, such as wizards to create mapped objects from existing tables. So, when NSB is saving messages, sagas, timeouts, logging, and other NSB artifacts to SQL database tables, EF can be used in console applications to monitor these artifacts. We will look at monitoring messages, and we'll choose EF for these examples because of its ease of mapping in Visual Studio from existing SQL Servers. EF will generate the models from existing tables that NSB creates.

Let's start by building a simple publish or subscribe example from https://github.com/Particular/NServiceBus.Msmq.Samples/tree/master/PubSub. We have already walked through this in the previous example, so we will discuss just modifying the sample to save data in SQL databases to time. We will send the messages and subscription information to the...

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.
MASTERING NSERVICEBUS AND PERSISTENCE
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