Free Sample
+ Collection

Learning NServiceBus

Learning
David Boike

Calling all .NET developers suffering unreliable web services. This tutorial will teach you the stabilising force of Service Oriented Architecture using NServiceBus. Now you can build systems that automatically compensate for failure.
$23.99
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782166344
Paperback136 pages

About This Book

  • Replace batch jobs with a reliable process
  • Create applications that compensate for system failure
  • Build message driven system

Who This Book Is For

This book is for .NET developers who are looking for ways to overcome problems related to buggy third party web service integrations, codebases that have grown into a big ball of mud, and batch jobs failure.

Table of Contents

Chapter 1: Getting on the IBus
Why NServiceBus?
Getting the code
Creating a message assembly
Creating a service endpoint
Creating a message handler
Sending a message from an MVC application
Running the solution
Summary
Chapter 2: Messaging Patterns
Commands versus events
Events
Message routing
Summary
Chapter 3: Preparing for Failure
Fault tolerance and transactional processing
Error queues and replay
Express messaging
Messages that expire
Auditing messages
Web service integration and idempotence
Summary
Chapter 4: Self-Hosting
Web app and custom hosting
Summary
Chapter 5: Advanced Messaging
Modifying the NServiceBus host
Additional bus settings
The unobtrusive mode
Message versioning
Specifying the handler order
Message actions
Unit of work
Message mutators
Property encryption
Transporting large payloads
Exposing web services
Summary
Chapter 6: Sagas
Long-running processes
Defining a saga
Finding saga data
Ending a saga
Dealing with time
Design guidelines
Unit testing
Scheduling
Summary
Chapter 7: Administration
Service installation
Profiles
Managing configurations
Monitoring
Scalability
Multiple sites
Managing RavenDB
Virtualization
Summary
Chapter 8: Where to Go from Here?
What we've learned
What next?

What You Will Learn

  • Bring reliability to web service integrations
  • Create code that automatically compensates for failure
  • Manage the deployment of complex software systems
  • Create software that can scale horizontally as well as vertically

In Detail

Web service-based systems are designed using Remote Procedure Call (RPC) techniques. This technique is effective; however, this method creates problems with scalability and reusability as fault tolerance is inherently hindered by the RPC principles. This book helps you to overcome this problem by introducing you to the principles of messaging and SOA to build scalable and reliable systems, that are easy to extend and maintain.

"Learning NServiceBus" is your essential guide to becoming a messaging guru. The book details the process of building a software system based on the SOA principles. From sending a simple message to publishing events, this book covers everything you need to know to understand and implement an SOA-based message driven systems.

"Learning NServiceBus" will teach you how to use publish/subscribe to create an Serivce Oriented Architecture. We will then look how to manage and extend that architecture. Through the course of the book, you will build reliable systems which will automatically compensate for failures. You will also learn to build complex yet testable business processes which will make batch processes seem outdated. By the end of the book, you will realize that SOA is much more than just web services.

Authors

Read More