abp-infrastructurelisted
Install: claude install-skill burakdmir/abp-skills
# ABP Framework — Infrastructure
ABP Framework v10.4 infrastructure components. Event Bus, Background Jobs, Caching, BLOB Storing, Emailing, Data Filtering, Data Seeding, Settings, Features, Virtual File System, Entity Cache, Distributed Locking.
## Trigger
- "ABP event bus"
- "ABP background job"
- "ABP cache"
- "ABP Redis"
- "ABP BLOB"
- "ABP email"
- "ABP data filter"
- "ABP data seeding"
- "ABP settings"
- "ABP features"
- "ABP virtual file"
- "ABP entity cache"
- "ABP distributed lock"
- "ABP current user"
- "ABP infrastructure"
## Event Bus
| Type | Interface | Usage |
|---|---|---|
| Local | `ILocalEventBus`, `ILocalEventHandler<TEvent>` | Same process |
| Distributed | `IDistributedEventBus`, `IDistributedEventHandler<TEvent>` | Across processes |
```csharp
// Event
public class StockCountChangedEvent { public Guid ProductId { get; set; } public int NewCount { get; set; } }
// Publish (service)
await _localEventBus.PublishAsync(new StockCountChangedEvent { ProductId = id, NewCount = count });
// Publish (entity)
public class Product : AggregateRoot<Guid>
{
public void ChangeStock(int count) { StockCount = count; AddLocalEvent(new StockCountChangedEvent { ... }); }
}
// Handler
public class Handler : ILocalEventHandler<StockCountChangedEvent>, ITransientDependency
{
[UnitOfWork]
public virtual async Task HandleEventAsync(StockCountChangedEvent e) { /* logic */ }
}
```
**Distributed Providers:** Loc