1. Getting Started
  2. Introduction

Getting Started

Introduction

ImmediatePlatform offers libraries that make implementing the Vertical Slice Architecture, CQRS pattern and Validation in .NET easier. You can think of the ImmediatePlatform suite as an alternative to MediatR/Mediator, FluentValidation and ASP.NET Core Minimal APIs/Controllers. Because the suite is made with modularity in mind, all of the libraries are opt-in and can be mixed and matched with other solutions (e.g. ASP.NET Core Controllers + Immediate.Handlers + FluentValidation). Please see our full cookbook for all integration examples.

Here is a full list of what each library has to offer:

Immediate.Handlers

Immediate.Handlers NuGet badge Immediate.Handlers GitHub Release badge Immediate.Handlers MIT license badge
  • Implementation of the mediator pattern in .NET using source-generation.
  • Support for implementing the Command and Query Responsibility Segregation (CQRS) pattern with minimal boilerplate.
  • Support for addressing cross-cutting concerns via behaviors.
  • All pipeline behaviors are determined and the call-tree built at compile-time; meaning that all dependencies are enforced via compile-time safety checks.
  • Behaviors and dependencies are obtained via DI at runtime based on compile-time determined dependencies.
  • Implementation that does not rely on the service locator anti-pattern.

Immediate.Apis

Immediate.Apis NuGet badge Immediate.Apis GitHub Release badge Immediate.Apis MIT license badge
  • Source generator for Minimal APIs for Immediate.Handlers
  • Allows for easily mapping handlers to endpoints

Immediate.Validations

Immediate.Validations NuGet badge Immediate.Validations GitHub Release badge Immediate.Validations MIT license badge
  • Source generator for validating Immediate.Handlers handlers parameters
  • Built for maximum performance and minimal boilerplate validation