By daniel.marbach
via planetgeek.ch
Published: Jan 16 2013 / 08:27
Yes I know I promised you guys amazing things are happening in NServiceBus. But I want to start with the small things and then go over some bigger changes. So feel free to skip this blog post if I disappointed you NServiceBus 3.0 and greater has the notion of a unit of work. The unit of work in NServiceBus allows you to externalize repetitive code such as committing NHibernate transactions, calling SaveChanges on a RavenDB session and much more. You can create your own unit of work pretty easily by just implementing the IManagesUnitOfWork interface and registering it in the provided container abstraction of NServiceBus. Let us explore an example…
Tweet
SaveShareSend
Tags: .net, frameworks, how-to, open source
Add your comment