Setup & Installation
What This Skill Does
Azure.Messaging.ServiceBus is the official .NET SDK for Azure Service Bus. It handles sending and receiving messages across queues, topics, and subscriptions, with support for sessions, dead letter queues, and cross-entity transactions.
The processor-based model handles lock renewal, concurrency, and error routing automatically, which removes the manual polling and lock management you'd otherwise have to build yourself.
When to use it
- Routing orders between microservices using topic subscriptions
- Processing background jobs from a queue with automatic lock renewal
- Grouping related messages by session ID to preserve per-customer ordering
- Inspecting dead letter queues to debug messages that failed max delivery attempts
- Broadcasting events to multiple subscribers via a single topic send