Azure Service Bus .NET Standard Transport

Source
NuGet Package NServiceBus.Transport.AzureServiceBus (1-pre)
Target NServiceBus Version: 7.x
This page targets a pre-release version and is subject to change prior to the final release.

Azure Service Bus .NET Standard transport

The Azure Service Bus .NET Standard transport (ASBS) leverages the .NET Standard Microsoft.Azure.ServiceBus client SDK.

Azure Service Bus (ASB) is a messaging service hosted on the Azure platform that allows for exchanging messages between various applications in a loosely coupled fashion. The service offers guaranteed message delivery and supports a range of standard protocols (e.g. REST, AMQP, WS*) and APIs such as native pub/sub, delayed delivery, and more.

Configuring an endpoint

To use Azure Service Bus .NET Standard transport as the underlying transport:

var transport = endpointConfiguration.UseTransport<AzureServiceBusTransport>();
transport.ConnectionString("Endpoint=sb://[NAMESPACE].servicebus.windows.net/;SharedAccessKeyName=[KEYNAME];SharedAccessKey=[KEY]");
The Azure Service Bus .NET Standard transport requires a connection string to connect to a namespace.

Samples

Related Articles


Last modified