万本电子书0元读

万本电子书0元读

顶部广告

Learning NServiceBus - Second Edition电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:David Boike

出  版  社:Packt Publishing

出版时间:2015-01-31

字       数:90.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are a .NET developer who wants to eliminate the problems related to defective third-party web service integration or batch job failures, then this is the book for you. It is also perfect for those of you who are new to NServiceBus and service-oriented architecture and would like to learn how you can streamline all of your development efforts.
目录展开

Learning NServiceBus Second Edition

Table of Contents

Learning NServiceBus Second Edition

Credits

Foreword

Early influences

Starting with MSMQ

What open source meant in those days

Clouds on the horizon

Unexpected success

Fast-forward to today

Back to David, and this book

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Instant updates on new Packt books

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. Getting on the IBus

Why use NServiceBus?

Getting the code

NServiceBus NuGet packages

Our first example

Creating a message assembly

Creating a service endpoint

Creating a message handler

Sending a message from an MVC application

Creating the MVC website

Running the solution

Summary

2. Messaging Patterns

Commands versus events

Eventual consistency

Achieving consistency with messaging

Events

Publishing an event

Subscribing to an event

Message routing

Summary

3. Preparing for Failure

Fault tolerance and transactional processing

Error queues and replay

Automatic retries

Replaying errors

Second-level retries

RetryDemo

Messages that expire

Auditing messages

Web service integration and idempotence

Summary

4. Hosting

Hosting types

NServiceBus-hosted endpoints

Self-hosted endpoints

Assembly scanning

Choosing an endpoint name

Dependency injection

Message transport

Reasons to use a different transport

MSMQ

RabbitMQ

SQL Server

Windows Azure

Persistence

In-memory persistence

NHibernate

RavenDB

Windows Azure

Polyglot persistence

Message serialization

Transactions

Purging the queue on startup

Installers

Startup

Send-only endpoints

Summary

5. Advanced Messaging

Unobtrusive mode

TimeToBeReceived attribute

Message versioning

Polymorphic dispatch

Events as interfaces

Specifying the handler order

Message actions

Stopping a message

Deferring a message

Forwarding messages

Message headers

Property encryption

Transporting large payloads

Exposing web services

Summary

6. Sagas

Long-running processes

Defining a saga

Finding saga data

Ending a saga

Dealing with time

Design guidelines

Business logic only

Saga lifetime

Saga patterns

Messages that start sagas

Retraining business stakeholders

Persistence concerns

RavenDB

NHibernate

Azure

Unit testing

Testing events as interfaces

Scheduling

Summary

7. Advanced Configuration

Extending NServiceBus

IConfigureThisEndpoint

INeedInitialization

IWantToRunWhenBusStartsAndStops

Dependency injection

Unit of work

Message mutators

The NServiceBus pipeline

Building behaviors

Ordering behaviors

Replacing behaviors

The pipeline context

Outbox

DTC 101

Life without distributed transactions

Outbox configuration

Session sharing

Summary

8. The Service Platform

ServiceControl

ServiceInsight

Endpoint Explorer

Messages

Main view

Flow Diagram

Saga

Sequence Diagram

Other tabs

ServicePulse

Endpoint activity

Failed messages

Custom checks

Getting notified

ServiceMatrix

Summary

9. Administration

Service installation

Infrastructure installers

Side-by-side installation

Profiles

Environmental profiles

Feature profiles

Customizing profiles

Logging profiles

Customizing the log level

Managing configurations

Monitoring performance

Scalability

Scaling up

Scaling out

Decommissioning a MSMQ worker

Extreme scale

Multiple sites

Virtualization

MSMQ message storage

Clustering

Transport administration

Summary

10. Where to Go from Here?

What we've learned

What next?

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部