Skip to content

Used Minimal APIs builders instead of custom one in Warehouse CQRS sample

Compare
Choose a tag to compare
@oskardudycz oskardudycz released this 14 May 11:46
· 392 commits to main since this release

Do you know that you can use .NET MinimalAPI methods not only in Program.cs?
Yes, you can! It lets you slice your architecture and put endpoints definitions separately, near the respectful business logic. This matches great with CQRS.

See more in the PR: #144