Microsoft.Azure.ServiceBus 5.2.0
Azure Service Bus client library for .NET
Please be aware that a newer package, Azure.Messaging.ServiceBus is available as of November 2020. While this package will continue to receive critical bug fixes, we strongly encourage upgrading for new development. Please see the migration guide for more details.
Azure Service Bus allows you to build applications that take advantage of asynchronous messaging patterns using a highly-reliable service to broker messages between producers and consumers. Azure Service Bus provides flexible, brokered messaging between client and server, along with structured first-in, first-out (FIFO) messaging, and publish/subscribe capabilities with complex routing.
This directory contains the open source subset of the .NET SDK. For documentation of the complete Azure SDK, please see the Microsoft Azure .NET Developer Center.
Use the client library for Azure Service Bus to:
Transfer business data: leverage messaging for durable exchange of information, such as sales or purchase orders, journals, or inventory movements.
Decouple applications: improve reliability and scalability of applications and services, relieving senders and receivers of the need to be online at the same time.
Control how messages are processed: support traditional competing consumers for messages using queues or allow each consumer their own instance of a message using topics and subscriptions.
Implement complex workflows: message sessions support scenarios that require message ordering or message deferral.
Source code | Package (NuGet) | API reference documentation | Product documentation
Getting started
The complete Microsoft Azure SDK can be downloaded from the Microsoft Azure Downloads Page and ships with support for building deployment packages, integrating with tooling, rich command line tooling, and more.
If you are not already familiar with Azure Service Bus, please review: What is Azure Service Bus.
For the best development experience, developers should use the official Microsoft NuGet packages for libraries. NuGet packages are regularly updated with new functionality and hotfixes.
Prerequisites
Microsoft Azure Subscription: To call Microsoft Azure services, including Azure Service Bus, you need to first create an account. If you do not have an existing Azure account, you may sign up for a free trial or use your MSDN subscriber benefits.
The Azure Service Bus client library shares the same Prerequisites as the Microsoft Azure SDK for .NET.
Samples
Code samples for the Azure Service Bus client library that detail how to get started and how to implement common scenarios can be found in the following locations:
To build
For information on building the Azure Service bus client library, please see Building the Microsoft Azure SDK for .NET
Running tests
Deploy the Azure Resource Manager template located at sdk/servicebus/Microsoft.Azure.ServiceBus/assets/azure-deploy-test-dependencies.json by clicking the following button:
Running the above template will provision a standard Service Bus namespace along with the required entities to successfully run the unit tests.
Add an Environment Variable named
SERVICE_BUS_CONNECTION_STRING
and set the value as the connection string of the newly created namespace. Please note that if you are using Visual Studio, you must restart Visual Studio in order to use new Environment Variables.
Once you have completed the above, you can run dotnet test
from the /sdk/servicebus/Microsoft.Azure.ServiceBus/tests
directory.
Development history
For additional insight and context, the development, release, and issue history for the Azure Service Bus client library will continue to be available in read-only form, located in the stand-alone Azure Service Bus .NET repository.
Versioning information
The Azure Service Bus client library uses the semantic versioning scheme.
Target frameworks
For information about the target frameworks of the Azure Service Bus client library, please refer to the Target Frameworks of the Microsoft Azure SDK for .NET.
Contributing
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Additional documentation
Showing the top 20 packages that depend on Microsoft.Azure.ServiceBus.
Packages | Downloads |
---|---|
LiteX.HealthChecks.AzureServiceBus
AzureServiceBus health checks package used to check the status of a Azure ServiceBus (queue and topic) in .NET 5, .NET Core, .NET Standard based applications.
LiteXHealthChecks is very small yet powerful and high-performance library used to check the status of a component in the application, such as a backend service, database or some internal state.
|
10 |
LiteX.HealthChecks.AzureServiceBus
AzureServiceBus health checks package used to check the status of a Azure ServiceBus (queue and topic) in ASP.NET Core applications.
Based on new Microsoft Health Checks feature included in ASP.NET Core 2.2.
LiteXHealthChecks is very small yet powerful and high-performance library used to check the status of a component in the application, such as a backend service, database or some internal state.
|
6 |
LiteX.HealthChecks.AzureServiceBus
AzureServiceBus health checks package used to check the status of a Azure ServiceBus (queue and topic) in ASP.NET Core applications.
Based on new Microsoft Health Checks feature included on ASP.NET Core 2.2.
LiteXHealthChecks is very small yet powerful and high-performance library used to check the status of a component in the application, such as a backend service, database or some internal state.
|
4 |
.NET Standard 2.0
- Microsoft.Azure.Amqp (>= 2.4.11)
- Microsoft.Azure.Services.AppAuthentication (>= 1.0.3 && < 2.0.0)
- Newtonsoft.Json (>= 10.0.3)
- System.Diagnostics.DiagnosticSource (>= 4.5.1)
- System.IdentityModel.Tokens.Jwt (>= 5.4.0)
Version | Downloads | Last updated |
---|---|---|
5.2.0 | 6 | 22.09.2024 |
5.1.3 | 0 | 19.04.2021 |
5.1.2 | 3 | 22.09.2024 |
5.1.1 | 3 | 22.09.2024 |
5.1.0 | 11 | 15.02.2024 |
5.0.0 | 3 | 22.09.2024 |
4.2.1 | 0 | 15.01.2021 |
4.2.0 | 4 | 22.09.2024 |
4.1.3 | 0 | 17.04.2020 |
4.1.2 | 0 | 03.03.2020 |
4.1.1 | 0 | 09.11.2019 |
4.1.0 | 6 | 22.09.2024 |
4.0.0 | 0 | 08.08.2019 |
3.4.0 | 3 | 22.09.2024 |
3.3.0 | 0 | 18.01.2019 |
3.2.1 | 0 | 14.12.2018 |
3.2.0 | 0 | 27.11.2018 |
3.1.1 | 0 | 29.09.2018 |
3.1.0 | 0 | 10.08.2018 |
3.1.0-preview | 0 | 28.06.2018 |
3.0.2 | 0 | 31.05.2018 |
3.0.1.16 | 3 | 22.09.2024 |
3.0.0 | 0 | 15.05.2018 |
3.0.0-preview-02 | 0 | 23.02.2018 |
3.0.0-preview-01 | 3 | 22.09.2024 |
2.0.0 | 0 | 12.10.2017 |
1.0.0 | 0 | 11.08.2017 |
1.0.0-RC1 | 0 | 03.08.2017 |
0.0.7-preview | 0 | 14.07.2017 |
0.0.6-preview | 0 | 02.06.2017 |
0.0.5-preview | 0 | 16.05.2017 |
0.0.3-preview | 0 | 13.04.2017 |
0.0.2-preview | 0 | 03.04.2017 |