background-services
CommunityReliable ASP.NET Core background processing.
Software Engineering#asp.net core#graceful shutdown#background services#task processing#outbox pattern#hosted services
AuthorAGIBuild
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides robust patterns for implementing background services, handling outbox patterns for reliable message delivery, and managing graceful shutdown in ASP.NET Core applications, preventing data loss and ensuring application stability.
Core Features & Use Cases
- Background Task Execution: Offload long-running or scheduled tasks from the request pipeline using
BackgroundServiceandIHostedService. - Reliable Messaging: Implement the Outbox pattern to ensure messages are never lost, even during failures.
- Graceful Shutdown: Manage application shutdown sequences to complete in-flight operations and release resources cleanly.
- Use Case: A web application needs to process uploaded images asynchronously. This Skill can be used to create a
BackgroundServicethat picks up image processing jobs from a queue, resizes them, and stores them, ensuring that even if the application restarts, no jobs are lost due to the Outbox pattern.
Quick Start
Register a new background service by adding builder.Services.AddHostedService<YourBackgroundService>(); to your application's service configuration.
Dependency Matrix
Required Modules
None requiredComponents
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: background-services Download link: https://github.com/AGIBuild/Agibuild.Fulora/archive/main.zip#background-services 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 223,000+ vetted skills library on demand.