hosted-service
CommunityReliable IHostedService with DLQ support
AuthorFaysilAlshareef
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Implements reliable IHostedService patterns with a paired dead-letter queue processor for Azure Service Bus, ensuring robust lifecycle management and explicit message handling.
Core Features & Use Cases
- IHostedService implementation that wires a primary ServiceBusSessionProcessor with a paired DLQ processor.
- Explicit message completion (AutoCompleteMessages = false) with clear error handling and logging.
- Typed ServiceBus client wrapper pattern for clean DI and testability.
- Guidance for registration, configuration, and best practices to avoid common anti-patterns.
- Use Case: building resilient microservices that process sessionized Service Bus messages with DLQ reprocessing.
Quick Start
Create a new listener implementing IHostedService with a paired DLQ processor and register it with the DI container.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hosted-service Download link: https://github.com/FaysilAlshareef/dotnet-ai-kit/archive/main.zip#hosted-service Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.