Book Image

MASTERING NSERVICEBUS AND PERSISTENCE

By : Richard L Helton
Book Image

MASTERING NSERVICEBUS AND PERSISTENCE

By: Richard L Helton

Overview of this book

Table of Contents (15 chapters)
Mastering NServiceBus and Persistence
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Supporting frameworks for persistence


To familiarize you with SQL ORM's in Visual Studio, it would be negligent if I did not cover Entity Framework, XML serialization, and C# reflection as not only NSB, but many frameworks are based on these techniques. When working with SQL Server, it is not uncommon to have several Entity Framework tools for administration, monitoring, and synching data in SQL Server; otherwise, the alternative would likely be SQL scripting and stored procedures.

NServiceBus, as well as any ESB, is heavily reliant on XML serialization and object reflection, which will be covered as well.

In this section, we will be using the PayQueue solution:

  • MyMessages: This is a payment message used for the projects

  • AppForWritingXML: This is a project that writes payment XML files to a local C:\ drive

  • AppForReadingXML: This is a project to read XML files from the drive, which saves a copy to the local database through Entity Framework, using the routines from the AppForWritingToTable...