Learning NServiceBus Sagas
eBook - ePub

Learning NServiceBus Sagas

Rich Helton

Share book
  1. 214 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learning NServiceBus Sagas

Rich Helton

Book details
Book preview
Table of contents
Citations

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Learning NServiceBus Sagas an online PDF/ePUB?
Yes, you can access Learning NServiceBus Sagas by Rich Helton in PDF and/or ePUB format, as well as other popular books in Informatique & Langues de programmation. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781782173496

Learning NServiceBus Sagas


Table of Contents

Learning NServiceBus Sagas
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Introduction to Sagas
A brief introduction to ESBs
Event-driven jobs
Additional SOA patterns
The publish-subscribe pattern
The request-reply pattern
The gateway pattern
The source code
The DataBus pattern
Timeout patterns
Message mutation patterns
The source code
Message encryption patterns
The source code
The ScaleOut pattern
The saga design pattern
Sagas – what are they good for?
Summary
2. NServiceBus Saga Architecture
Upgrading from NSB version 4 to 5
The saga workflow
Message flow
Deployment
ServiceInsight
Summary
3. The Particular Service Platform
Introducing NSB components
Understanding ServicePulse and its function
Understanding ServiceControl and its function
Understanding ServiceInsight and its function
Creating a ServiceMatrix solution
Sagas through ServiceMatrix
Introducing CustomChecks for ServicePulse
Summary
4. Saga Development
A brief overview of ASP.NET MVC
Sagas and web services
The source code
Creating a WCF server
Adding messages
Adding the message handler
Adding the configuration
Adding tracing
Viewing the web service
Considerations when deploying
Creating a WCF client
Adding the service reference
Calling the service reference
Revisiting the design
The source code
Adding NServiceBus to MVC
Message handler unit testing
Saga handler unit testing
Integration tests with MVC
RabbitMQ for NSB
The source code
Changing the endpoints
ActiveMQ in NSB
The source code
Summary
5. Saga Snippets
Source code overview
Sample e-mail saga notification
Using XAML
The saga project
Testing the solution
Sample SFTP saga
Using XAML
Changing the process of messaging
Setting up an SFTP test environment
Saga deployment
ActiveMQ
The source code
Summary
6. Using NServiceBus in the Cloud
Introducing the cloud and NSB
Introducing PaaS, IaaS, and SaaS
Using Microsoft Azure
Introducing Azure Storage Services
Azure Service Bus and Storage Queues
Azure Storage Queues and NSB
Azure Service Bus in NSB
Summary
Index

Learning NServiceBus Sagas

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: January 2015
Production reference: 1240115
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78217-349-6
www.packtpub.com

Credits

Author
Rich Helton
Reviewers
Neil Bourgeois
Prashant Brall
Mark Huber
Commissioning Editor
Usha Iyer
Acquisition Editor
Kevin Colaco
Content Development Editors
Akshay Nair
Priya Singh
Technical Editor
Edwin Moses
Copy Editors
Sarang Chari
Puja Lalwani
Veena Mukundan
Project Coordinator
Mary Alex
Proofreaders
Samuel Redman Birch
Maria Gould
Bernadette Watkins
Indexer
Monica Ajmera Mehta
Graphics
Valentina D'silva
Production Coordinator
Nilesh R. Mohite
Cover Work
Arvindkumar Gupta
Nilesh R. Mohite

About the Author

Rich Helton, as a principal software engineer, builds and reviews large-scale systems and trains hundreds of developers as well.
Rich has spent over 2 decades in designing and building systems. During this time, he has built, architected, and designed multiple systems, as well as managed many different technical teams. He has built many large-scale enterprise solutions using the most popular C# and Java frameworks and has expertise in the financial, aeronautical, and security domains.
Rich's passion for designing and teaching HTML5, ESBs, ORM's test-driven development, NoSQL, iOS, IoCs, and cloud and iPad development was discovered while training developers and architects. He freely shares some of the slides from these trainings on http://www.slideshare.net/rhelton_1.

About the Reviewers

Neil Bourgeois is a software engineer at Pentair Technical Solutions, where he leads the Engineering Software team. Solutions he has architected and implemented include a high-volume metering and billing system for the utilities industry and an industry-leading 3D engineering tool for the industrial heat-tracing field. He applies the discipline of Agile software development to his work and believes that great software comes from great team cultures. He strives to lead his teams to great cultures.
Prashant Brall is a principal consultant and senior software architect/developer who uses Microsoft technologies. He works for Veritec Pty Ltd (www.veritec.com.au) in Canberra, Australia, and has been developing software for the past 18 years. He enjoys writing about his experiences on his blog at https://prashantbrall.wordpress.com.
Prashant has also reviewed the book Instant AutoMapper, Packt Publishing.
In...

Table of contents