abp-infrastructure

Access ABP Framework infrastructure services for settings, features, caching, events, jobs, and localization.

14.4k|3.7k|Updated Dec 3, 2016
One-click install
npx skills add https://github.com/abpframework/abp --skill abp-infrastructure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: abp-infrastructure
Source: https://github.com/abpframework/abp/tree/main/.claude/skills/abp-infrastructure
Command: npx skills add https://github.com/abpframework/abp --skill abp-infrastructure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the management and utilization of ABP Framework's core infrastructure services, abstracting away complex configurations for settings, features, caching, eventing, and background jobs.

Core Features & Use Cases

  • Settings Management: Define, read, and manage application settings across different scopes (user, tenant, global).
  • Feature Management: Define and check feature flags to control application behavior.
  • Distributed Caching: Implement efficient data caching strategies using IDistributedCache.
  • Event Bus: Handle local and distributed events for inter-module and inter-service communication.
  • Background Jobs: Schedule and execute background tasks asynchronously.
  • Localization: Manage multi-language text resources.
  • Use Case: When developing a new feature in an ABP application, use this Skill to define and check if a specific feature flag is enabled before executing sensitive operations, or to enqueue a background job for sending welcome emails to new users.

Quick Start

Use the abp-infrastructure skill to define a new setting named 'MyApplication.WelcomeMessage' with a default value of 'Welcome!'.

Frequently Asked Questions about abp-infrastructure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage ABP framework settings across different tenant and user scopes?

To manage ABP framework settings across different scopes, you can programmatically define, read, and manage application settings globally, per tenant, or per user using the infrastructure services provided. This abstracts away complex configuration logic.

Can I use the ABP framework to check feature flags before executing sensitive operations?

Yes, you can use the ABP framework to check feature flags before executing sensitive operations. The infrastructure allows you to programmatically define and evaluate feature toggles to control application behavior securely.

How do I enqueue and run background jobs asynchronously in an ABP application?

To enqueue and run background jobs asynchronously in an ABP application, use the infrastructure service to schedule and execute background tasks. This facilitates delayed processing like sending welcome emails without blocking the main thread.

What is the best way to handle local and distributed events for inter-module communication in ABP?

The best way to handle local and distributed events for inter-module communication in ABP is using the event bus infrastructure. It enables seamless event publication and subscription across different modules and services.

How does distributed caching work with IDistributedCache in the ABP framework?

Distributed caching with IDistributedCache in the ABP framework works by providing services that implement efficient data caching strategies. You can programmatically manage cache entries to improve application performance and reduce database load.

Do I need specific infrastructure setup to manage multi-language text resources in ABP?

You do not need complex external setup to manage multi-language text resources in ABP. The framework provides built-in localization infrastructure services that allow you to manage and retrieve text resources for different languages programmatically.