Skip to content

Gryd.Application

CQRS pattern implementation with Result types and validation.

Installation

bash dotnet add package Gryd.Application

Overview

ComponentDescription
ResultResult pattern for error handling
PagedResultPagination support
CQRSCommand and Query interfaces
ServicesCommon service abstractions
BehaviorsMediatR pipeline behaviors

Architecture

  • Commands: Modify state (ICommand, ICommandHandler)
  • Queries: Read state (IQuery, IQueryHandler)
  • Result: Explicit error handling without exceptions
  • ValidationBehavior: Automatic FluentValidation pipeline

Released under the MIT License.