Skip to content

Recipes

Recipes are self-contained guides that show how to add specific capabilities to a Modulus solution. Each recipe follows a consistent Problem, Solution, Discussion format and can be applied independently.

Available Recipes

RecipeDescription
AuthenticationSecure module endpoints with JWT bearer authentication and authorization pipeline behaviors
CachingReduce database load with a distributed caching pipeline behavior for queries
Strongly Typed IDsEliminate primitive obsession by wrapping entity IDs in type-safe wrappers
SagasCoordinate multi-step workflows across modules using MassTransit state machines
API VersioningEvolve your API endpoints without breaking existing clients
Health ChecksMonitor module health in production with built-in and custom health check endpoints

Recipes are additive

Each recipe builds on top of the standard Modulus scaffolding. You can apply any combination of recipes -- they do not conflict with each other or modify the core module structure.

Released under the MIT License.