© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
9 replies
bookuha

MediatR commands and DTOs [Answered]

Currently, I am passing DTOs to my controllers,
I am using MediatR and it supports commands.
I use these commands just to pass these DTOs into them, like some kind of envelope (what they essentially are, I guess)
Can I use commands instead of DTOs directly?
What are the pros and cons?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

MediatR - Can't create Responder [Answered]
C#CC# / help
4y ago
❔ MediatR and saga
C#CC# / help
3y ago
DTOs inside of DTOs
C#CC# / help
4y ago
❔ DTOs Pros and Cons
C#CC# / help
4y ago