-
Book Overview & Buying
-
Table Of Contents
MASTERING NSERVICEBUS AND PERSISTENCE
By :
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...
Change the font size
Change margin width
Change background colour