Learning NServiceBus

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.

Learning NServiceBus

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.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$39.99
$29.99p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781782166344
Paperback136 pages

Book Description

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.

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

Authors

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?

Book Details

ISBN 139781782166344
Paperback136 pages
Read More

Read More Reviews

Recommended for You

Learning NServiceBus - Second Edition Book Cover
Learning NServiceBus - Second Edition
$ 17.99
$ 12.60
Mastering NServiceBus and Persistence Book Cover
Mastering NServiceBus and Persistence
$ 20.99
$ 14.70
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
NHibernate 3.0 Cookbook Book Cover
NHibernate 3.0 Cookbook
$ 26.99
$ 18.90
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
ASP.NET Web API: Build RESTful web applications and services on the .NET framework Book Cover
ASP.NET Web API: Build RESTful web applications and services on the .NET framework
$ 29.99
$ 21.00