Skip to content

rebus-org/Rebus.AzureBlobs

Repository files navigation

Rebus.AzureBlobs

install from nuget

Provides Azure Blobs-based implementation for Rebus of

  • data bus storage (in blobs)
  • saga auditing snapshots (blobs)

You can configure the blob-based data bus like this:

var storageAccount = CloudStorageAccount.Parse(connectionString);

Configure.With(...)
	.(...)
	.DataBus(d => d.StoreInBlobStorage(storageAccount, "container-name"))
	.Start();

or, if you're using Rebus 5 or earlier, you need to do it like this:

var storageAccount = CloudStorageAccount.Parse(connectionString);

Configure.With(...)
	.(...)
	.Options(o => o.EnableDataBus().StoreInBlobStorage(storageAccount, "container-name"))
	.Start();