Bluestopher
Bluestopher
Explore posts from servers
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
I see what you mean. I’m going to give this a try at implementation for fixing my issue. Thanks for the feedback @PixxelKick.
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
Do you have an example? I’m kind of confused
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
Thank you a lot
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
I appreciate your time and feedback
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
If you have more for CQRS to I’ll check it out. If not I’ll google around
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
This is exactly what I need
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
I like that
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
I understand what you are saying and where you are going. I feel that you have given me the tools I need and I just need to learn about this new approach and apply
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
Should I just read through mediatr documentation or is there more I should read for how to implement it this way?
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
I see what you are saying
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
Thanks. So, I write the executors and hook them up via DI with mediatR?
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
I see. How do I map to multiple different IRequest?
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
Do you have any sample implementations you can recommend?
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
I saw the command bus pattern
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
But when I have 20 different data types I will have 20 different controllers. This is where the service comes in handy
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
I see the correlation
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
Oh my gosh
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
Yup, exactly.
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
Yeah, the request will contain an annotation on what to do.
227 replies
CC#
Created by Bluestopher on 11/17/2023 in #help
Design Pattern for mapping generic class type to implementation
The caller tells me the type of record they want to use. So, if they specify RecordA and RecordA is a valid type we can deserialize it to RecordA and pass it to the service to perform operations on it.
227 replies