Skip to content

Latest commit

 

History

History

README.md

Samples

This directory contains various samples of Mediator usage

  • basic/ shows basic usage of the primitives - requests, notifications, pipelinebehaviors
  • apps/ shows more full-featured usage in APIs/applications using various architectures, such as Clean Architecture
  • use-cases/ shows more specific usecases and patterns, such as Autofac, query caching pattern

In Showcase/ you will find the code for what is shown in the root README.

Telemetry backend for samples

Server-hosted samples under samples/apps/ are wired for OpenTelemetry metrics/tracing with OTLP export. The Blazor WebAssembly client sample is intentionally excluded. To run a local LGTM stack for viewing telemetry:

docker compose up -d

Endpoints:

Stop and remove:

docker compose down -v