--- type: slide --- # Design Pattern --- ## CQRS * Command Query Responsibility Segregation  --- ## Domain-Driven Design(DDD)  --- ## Mediator  --- ## ASP.NET Core API using MediatR  --- ## non-repository vs Repository vs Repository + UnitOfWork  https://davidskyspace.com/unit-of-work-pattern-concepts-in-net/ --- ## ASP.NET Core API using MediatR Example * origin api  --- ### MediatR * Step1 Create Query * Create `Queries/GetAllOrdersQuery.cs`  --- * Step2 refactor api  --- * Step3 Create Handlers  --- ### reference * https://abdelmajid-baco.medium.com/cqrs-pattern-with-c-and-mediatr-part-2-2ded039b7f70 * https://www.youtube.com/watch?v=YzOBrVlthMk&ab_channel=NickChapsas * https://ithelp.ithome.com.tw/articles/10216645 ---
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up