Chapter 1. NServiceBus Persistence Introduction

In this chapter, we will discuss NServiceBus (NSB) and the basic persistence design pattern it uses, which includes the saga, gateway, subscription, messages, and timeout design patterns. We will also discuss the benefits of using NSB and what it brings to the table in software design. Finally, we will discuss the following topics:

  • Introduction to SOA
    • The need for metadata
    • The need for persistence patterns
    • The need for enterprise frameworks
    • Fallacies of distributed computing
    • The need for sagas
    • A real-life saga
  • Beginning an NServiceBus saga
  • Beginning NServiceBus assemblies