Skip to content

Gryd.Infrastructure

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

Installation

bash dotnet add package Gryd.Infrastructure

Overview

ComponentDescription
IRepositoryGeneric repository pattern
IUnitOfWorkTransaction management
ICacheServiceCaching abstraction
IEventDispatcherDomain event dispatching
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
  • Multi-Tenancy: Query filters, interceptors, and context management

Released under the MIT License.