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 PayQueue sample


From these frameworks and the use of SQL Queuing, we will be introducing a PayQueue sample that will be evolving over some of the following chapters.

The solution will start with four projects:

  • MyMessages: This contains the common messages—currently EventMessage given previously

  • AppForWritingXML: This contains the application to write XML messages to disk

  • AppForWritingTables: This contains Entity Framework and C# refection to populate the PayQueue Payments table with the event message data

  • AppForReadingXML: This reads the sample XML files from disk, populates the Payments table, and sends the data through a SQL Queue

Many of the snippets have already been covered in part. The part that remains is sending it across the bus in SQL Queuing. We set the logging (log4net in this case), configure the bus, and send the message.

The installation piece creates the endpoints in SQL Server, and it knows to do this because the transport is set to <SqlServer>:

          // Set 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