Skip to content

Guides

These guides explain how to use bITdevKit features and apply common application patterns. Each guide includes practical examples and links to the feature documentation.

Guide Question
Messaging or Queueing Should an event reach several consumers, or should one consumer own a work item?
Repository or ActiveEntity Should persistence use an injected repository or entity-scoped methods?
Pipeline or Orchestration Is this an in-process sequence, or a stateful workflow that waits and resumes?
Blob Storage or Document Storage Does the application store streams or typed documents?
Jobs or Startup Tasks Does work belong to a host startup or need scheduling and execution history?
Where to Put Business Logic Does the code enforce a domain rule or coordinate an application use case?
When to Use Domain Events Should a recorded business change trigger separate reactions after persistence?
Requester or Notifier Does the caller need one handler's result or want to notify all matching handlers?
Queueing or Jobs Does work need consumer dispatch, scheduling, or both?
Domain Events or Application Events Does the event originate in an aggregate or an application workflow?
Change History or Event Sourcing Do you need an audit trail or events that reconstruct aggregate state?
Repository or Document Storage Are you persisting domain entities or typed documents?
Direct Call or Requester Does this operation need a service call or a request handler with shared behaviors?
Retry or Compensation Should you repeat a failed action or counteract work that already succeeded?
Result<T> or plain return type Does the caller need an explicit expected-failure outcome or a plain value?