SKILL

azure-servicebus-dotnet

Azure Service Bus SDK for .NET. Enterprise messaging with queues, topics, subscriptions, and sessions. Use for reliable message delivery, pub/sub patterns, dead letter handling, and background processing. Triggers: "Service Bus", "ServiceBusClient", "ServiceBusSender", "ServiceBusReceiver", "ServiceBusProcessor", "message queue", "pub/sub .NET", "dead letter queue".

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Azure.Messaging.ServiceBus (.NET)
  • Installation
  • Environment Variables
  • Authentication
  • Microsoft Entra Token Credential
  • Connection String
  • ASP.NET Core Dependency Injection
  • Client Hierarchy

Enterprise messaging SDK for reliable message delivery with queues, topics, subscriptions, and sessions. Current Version: v7.20.1 (stable) | Type | Purpose | |------|---------| | ServiceBusClient | Main entry point, manages connection | | ServiceBusSender | Sends messages to queues/topics | | ServiceBusReceiver | Receives messages from queues/subscriptions | | ServiceBusSessionReceiver | Receives session messages | | ServiceBusProcessor | Background message processing | | ServiceBusSessionProcessor | Background session processing | | ServiceBusAdministrationClient | CRUD for queues/topics/subscriptions | | ServiceBusMessage | Message to send | | ServiceBusReceivedMessage | Received message with metadata | | ServiceBusMessageBatch | Batch of messages | 1. Use singletons — Clients, senders, receivers, and processors are thread-safe 2. Always dispose — Use await using or call DisposeAsync() 3. Dispose order — Close senders/receivers/processors first, then client 4. Use DefaultAzureCredential — Prefer over connection strings for production 5. Use processors for background work — Handles lock renewal automatically 6. Use safe batching — CreateMessageBatchAsync() and TryAddMessage() 7. H

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
microsoft/skills
Source file
.github/plugins/azure-sdk-dotnet/skills/azure-servicebus-dotnet/SKILL.md
Fixed revision
9287b443662d2433c85621c7325ee72a0ce499b5
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:06.110Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.