Azure Service Bus

Microsoft Azure Service Bus is a reliable information delivery service in the cloud.

In addition to Azure Service Bus, the Redakt Azure package also includes a CosmosDB data store module and an Azure Blob Storage file store module.

Installation

Install the Azure package with the NuGet package manager or the Package Manager Console.

PM> Install-Package Redakt.Data.Azure

Register Azure Service Bus services in the ConfigureServices method in your project's Startup.cs file.

public void ConfigureServices(IServiceCollection services)
{
    // ... framework and other services here

    services.AddRedakt(this.Configuration, builder =>
    {
        builder.AddAzureServiceBus();
        // ... other Redakt services
    });
}

Configuration

The Azure Service Bus is configured through the appsettings.json file. Any configuration that is not included in the appsettings.json file will be set to its following default values.

{
    "Redakt": {
        "ServiceBus": {
            "AzureServiceBus": {
                "ConnectionString": "",
                "TopicName": "Redakt"
            }
        }
    }
}

Connection String

Required. Sets the connecting string that will be used to connect to you Azure Service Bus namespace, which can be found in the Azure Portal. See here for more information on creating a service namespace.

Azure Portal Service Bus keys

Topic Name

Sets the name of the topic that Redakt will send and subscribe to. The topic will be automatically created by Redakt if it does not already exist.