Appearance
Gryd.Infrastructure
Infrastructure abstractions for repository, caching, events, storage, and multi-tenancy.
Installation
bash
dotnet add package Gryd.InfrastructureOverview
| Component | Description |
|---|---|
| IRepository | Generic repository pattern |
| IUnitOfWork | Transaction management |
| ICacheService | Caching abstraction |
| IEventDispatcher | Domain event dispatching |
| Object Storage | Unified upload/download integration for S3, GCS, and Azure Blob |
| Multi-Tenancy | Tenant isolation infrastructure |
Architecture
This package provides interfaces and implementations for infrastructure concerns:
- Repository: Data access abstraction
- Unit of Work: Transaction coordination
- Cache Service: Caching abstraction (Redis, Memory)
- Event Dispatcher: Domain event publishing
- Object Storage: Unified cloud object storage abstraction
- Multi-Tenancy: Query filters, interceptors, and context management