Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ TinyValidations is intentionally boring in the places that matter.
- [Extending TinyValidations](docs/extending.md)
- [TinyDispatcher integration](docs/tinydispatcher.md)
- [MediatR integration](docs/mediatr.md)
- [TinySuite and sample app](docs/tiny-suite.md)
- [Architecture](docs/architecture.md)
- [Roadmap](docs/roadmap.md)

Expand Down
30 changes: 30 additions & 0 deletions docs/tiny-suite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# TinySuite and the sample app

TinyValidations is part of TinySuite, the small family of libraries made of TinyDispatcher, TinyValidations, and TinyEvents.

Each package stays focused:

- TinyValidations owns application input validation.
- TinyDispatcher owns command and query execution.
- TinyEvents owns reliable application-event handling through the outbox pattern.

## TheTinyApplicationLayer sample

The shared sample lives in the sibling `TheTinyApplicationLayer` repository.

It is an ASP.NET Core and Blazor application that uses the three TinySuite NuGet packages together:

```text
Blazor Form
-> API Endpoint
-> TinyValidations
-> TinyDispatcher
-> Use Case
-> TinyEvents Outbox
-> Worker
-> Event Consumer
```

TinyValidations appears before dispatch. It validates the incoming command and lets the handler run only when the command is valid. TinyDispatcher then executes the use case, and TinyEvents records the durable side effect.

Use the sample when you want to see how TinyValidations fits with the rest of TinySuite in a real application shape rather than as an isolated package demo.
Loading