Skip to content
A simple library for Windows Service Bus to ease pub/sub scenarios.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget
Messages
NuGet.Simple.ServiceBus.Autofac
NuGet.Simple.ServiceBus
Simple.ServiceBus.Autofac
Simple.ServiceBus.Demo.Pub
Simple.ServiceBus.Demo.Sub
Simple.ServiceBus
.gitattributes
.gitignore
Simple.ServiceBus.sln
readme.md

readme.md

#Simple.ServiceBus

Library for simple pub/sub for the Windows Service Bus.

##Example

var container = new ContainerBuilder()
          .RegisterServiceBus()
          .Build();
 
  var serviceBus = container.Resolve<IServiceBus>();
  var manager = container.Resolve<IServiceBusManager>();

 var container = new ContainerBuilder()
      .RegisterServiceBus()
      .RegisterObservers(typeof(Program).Assembly)
      .Build();
 
var resolver = new Resolver(container.ResolveNamed, container.Resolve);
 
serviceConfig.ConstructUsing(
    s =>
    new SubscriptionConfigurationService(resolver,
     map => map.ListenTo<SimpleMessage>().Using<SimpleHandler>()
            .WithConfiguration(new SubscriptionConfiguration("Test_1"))
        ));
serviceConfig.WhenStarted(sv => sv.Start());
serviceConfig.WhenStopped(sv => sv.Stop());
 

Downloads

Download from NuGet 'Simple.ServiceBus' Search NuGet for Simple.ServiceBus

You can’t perform that action at this time.