Skip to content

Gryd.Infrastructure

Infrastructure abstractions for repository, caching, events, storage, and multi-tenancy.

Installation

bash
dotnet add package Gryd.Infrastructure

Overview

ComponentDescription
IRepositoryGeneric repository pattern
IUnitOfWorkTransaction management
ICacheServiceCaching abstraction
IEventDispatcherDomain event dispatching
Object StorageUnified upload/download integration for S3, GCS, and Azure Blob
Multi-TenancyTenant 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

Released under the MIT License.