O'Reilly logo

Mastering NServiceBus and Persistence by Rich Helton

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

Entering RavenDB

We have briefly discussed RavenDB in the earlier chapters of this book. NSB takes care of the document mapping in the RavenDB database; however, we will cover some of the basics of RavenDB in a typical C# program without NSB. I will remind you to review the RavenDB licensing when working with RavenDB.

RavenDB is a document-oriented store database that is used by many defaults in NServiceBus and makes use of the JSON format. See https://ravendb.net/ for more information. In our previous PubSub example, we took out most pieces of the persistence from RavenDB and put it in a SQL Server. Now, we will put the subscriptions back into RavenDB.

This is done by deleting .UseNHibernateSubscriptionPersister(), which we put earlier in the PubSub ...

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