dotnet-worker-services

Official

Build robust .NET background services.

Authormanagedcode
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides the patterns and best practices for building reliable, long-running background services and hosted services in .NET, ensuring proper lifecycle management, graceful shutdown, and efficient resource utilization.

Core Features & Use Cases

  • BackgroundService Implementation: Learn to implement BackgroundService for scheduled or continuous tasks.
  • Graceful Shutdown: Ensure your services shut down cleanly without data loss.
  • Dependency Management: Handle scoped dependencies correctly within hosted services.
  • Observability: Integrate health checks for monitoring and reliability.
  • Use Case: Develop a worker service that periodically polls a message queue, processes messages, and updates a database, all while ensuring it can be stopped and restarted safely.

Quick Start

Implement a basic .NET worker service using the BackgroundService pattern.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: dotnet-worker-services
Download link: https://github.com/managedcode/dotnet-skills/archive/main.zip#dotnet-worker-services

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.