Microsoft.Azure.ServiceBus 5.2.0 (original) (raw)

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:

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

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

  1. 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.
  2. 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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed.
.NET Core netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.
.NET Standard netstandard2.0 is compatible. netstandard2.1 was computed.
.NET Framework net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.
MonoAndroid monoandroid was computed.
MonoMac monomac was computed.
MonoTouch monotouch was computed.
Tizen tizen40 was computed. tizen60 was computed.
Xamarin.iOS xamarinios was computed.
Xamarin.Mac xamarinmac was computed.
Xamarin.TVOS xamarintvos was computed.
Xamarin.WatchOS xamarinwatchos was computed.

NuGet packages (290)

Showing the top 5 NuGet packages that depend on Microsoft.Azure.ServiceBus:

Package Downloads
Microsoft.Azure.WebJobs.ServiceBus Package Description 10.4M
BumperLane.Tenant.Service.Client BumperLane service client. 649.8K
ServiceBus.AttachmentPlugin Microsoft Azure ServiceBus attachment plugin 563.5K
ServiceStack.Azure ServiceStack integration for Azure Services in Azure and Windows ServiceBus, Azure Blob Storage / Virtual File System, Azure Table Storage / Cache Provider. 392.9K
Storage.Net.Microsoft.Azure.ServiceBus Extension to Storage.Net providing integration with Microsoft Azure Storage for blobs, tables and queues. 300.2K

GitHub repositories (25)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Azure.ServiceBus:

Repository Stars
microsoft/PowerApps-Samples Sample code for Power Apps, including Dataverse, model-driven apps, canvas apps, Power Apps component framework, portals, and AI Builder. 1.9K
microsoft/WhatTheHack A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth 1.9K
microsoft/coyote Coyote is a library and tool for testing concurrent C# code and deterministically reproducing bugs. 1.6K
UiPath/CoreWF WF runtime ported to work on .NET 6 1.2K
Xabaril/BeatPulse Liveness, health check library for ASP.NET Core Applications 599
elastic/apm-agent-dotnet 592
WolfgangOfner/MicroserviceDemo This is a demo with two ASP .NET 6 microservices using RabbitMQ and Docker 584
JasperFx/jasper Next generation application development framework for .Net 416
Azure/azure-libraries-for-net Azure libraries for .Net 381
Chinchilla-Software-Com/CQRS A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments. 355
rstropek/Samples 337
microsoft/data-accelerator Data Accelerator for Apache Spark simplifies onboarding to Streaming of Big Data. It offers a rich, easy to use experience to help with creation, editing and management of Spark jobs on Azure HDInsights or Databricks while enabling the full power of the Spark engine. 313
JamesRandall/FunctionMonkey Write more elegant Azure Functions with less boilerplate, more consistency, and support for REST APIs. Docs can be found at https://functionmonkey.azurefromthetrenches.com 296
Flangvik/CobaltBus Cobalt Strike External C2 Integration With Azure Servicebus, C2 traffic via Azure Servicebus 247
azuredevcollege/trainingdays Azure Developer College's application development training days content. 238
842549829/Panda Abp.vNext + EF Core The microservices Open source framework project supports the implementation of message push workflow certification centers based on OAuth2.0 178
vany0114/microservices-dotnetcore-docker-sf-k8s Shows an approach to work with a microservices based architecture using .Net Core, Docker, and Azure Service Fabric/Kubernetes, applying Domain Driven Design (DDD) and Comand and Query Responsibility Segregation (CQRS) and other patterns. 156
paolosalvatori/service-fabric-acs-kubernetes-multi-container-app This sample demonstrates how create a multi-container application using ASP.NET Core and deploy it on an Azure Service Fabric Linux cluster with the DNS service or Azure Container Service Kubernetes cluster on Azure. 133
aliostad/BeeHive A Reactive Cloud Actor library/mini-framework for .NET 4.5.2+ or .NET Standard 2.0+ 131
NimbusAPI/Nimbus Nimbus is a .NET client library to provide an easy abstraction over common messaging frameworks. 118

Include prerelease

Include vulnerable

Include deprecated

Version Downloads Last Updated
5.2.0 33,567,232 11/8/2021 5.2.0 is deprecated.
5.1.3 11,940,899 4/19/2021 5.1.3 is deprecated.
5.1.2 5,781,248 2/25/2021 5.1.2 is deprecated.
5.1.1 4,253,612 1/13/2021 5.1.1 is deprecated.
5.1.0 6,196,362 11/20/2020 5.1.0 is deprecated.
5.0.0 11,232,102 9/11/2020 5.0.0 is deprecated.
4.2.1 10,181,034 1/15/2021 4.2.1 is deprecated.
4.2.0 2,276,085 9/15/2020 4.2.0 is deprecated.
4.1.3 13,606,538 4/17/2020 4.1.3 is deprecated.
4.1.2 3,771,017 3/3/2020 4.1.2 is deprecated.
4.1.1 13,658,472 11/9/2019 4.1.1 is deprecated.
4.1.0 1,038,581 10/21/2019 4.1.0 is deprecated.
4.0.0 3,726,352 8/8/2019 4.0.0 is deprecated.
3.4.0 7,641,898 3/26/2019 3.4.0 is deprecated.
3.3.0 3,723,512 1/18/2019 3.3.0 is deprecated.
3.2.1 3,739,716 12/14/2018 3.2.1 is deprecated.
3.2.0 879,281 11/27/2018 3.2.0 is deprecated.
3.1.1 1,995,680 9/29/2018 3.1.1 is deprecated.
3.1.0 1,614,994 8/10/2018 3.1.0 is deprecated.