Skip to main content

Application

The Application layer sits between Core and Api, implementing your business logic through the CQRS pattern. It contains three packages:

  • RA.Utilities.Dispatcher — A custom mediator (not MediatR) that dispatches requests to handlers and composes pipeline behaviors, with Result-based dispatch and a source-generated mediator. Start here.
  • RA.Utilities.Feature — The predecessor package: the same mediator concept with exception-based dispatch and a source-generated mediator.
  • RA.Utilities.Application.Validation — FluentValidation integration utilities for request validation.

Where to Start​

RA.Utilities.Dispatcher → — Learn the mediator, CQRS handlers, and pipeline behaviors that form the backbone of your application logic.

Migrating from RA.Utilities.Feature → — The step-by-step guide covering the package rename and the return to Result-based dispatch.