Apply FCQRS: task guides
Choose the task you need. For a first working application, start with the tutorial.
Choose the task
| Task | Guide |
|---|---|
| Model commands, events, decisions, and folds | Define an aggregate |
| Reject a command based on an older aggregate version | Send at an expected version |
| Put an aggregate behind HTTP endpoints | Serve an aggregate over HTTP |
| Project events into query data | Add a projection |
| Wait before querying your own change | Read your writes |
| Wait until a projection has processed a journal snapshot | Catch up projections |
| Run durable steps that call external systems | Write a workflow |
| Test a workflow's steps, timeouts, failures, and replay in memory | Test a workflow |
| Find a workflow body or a fold that reads the clock or makes a GUID | Check bodies and folds for nondeterminism |
| Find the workflows that wait for an approval or another signal | Find workflows that wait for a signal |
| Apply only the newest of the changes that arrive while one is applied | Apply only the newest change |
| Start a workflow when an aggregate stores an event | Start a workflow from an aggregate event |
| Run jobs nightly, weekly, or at an interval | Run scheduled jobs |
| Add a circuit breaker or a concurrency limit to an external call | Use Polly inside an activity |
| Run a program written with the free monad as durable steps | Run a free-monad program as a workflow |
| Test decisions, replay, and retries | Test your domain |
| Change stored event contracts safely | Evolve persisted events |
| Rebuild derived query data | Rebuild a read model |
| Run non-durable asynchronous work | Dispatch an async effect |
| Choose journal and snapshot storage | Configure the database |
| Add logs, traces, and failure signals | Observe your system |
| Build a C# host and domain | Use FCQRS from C# |
| Maintain a saga in an application that has them | Write a saga |
Consistency and recovery explains how aggregate persistence, projection commits, saga progress, and external work fit together.