Cydo
Explore posts from servers✅ Clarification on VSA
Okay so in my case, i have a Domain project and the only thing in there are all the different types for my database, and then i have a Application project where I'm trying to use VSA where i have a features directory where i have a specific folder per feature and inside of that folder, i have for example the command and query and dto and handler etc all related to that feature, and then finally I have an Infrastructure project that is for my repositorys/database conext and w.e configurations i may have like data base seeding
16 replies
✅ How to get better at writing EF Queries?
This would be the more performant way to do things now, since I'm only pulling data I need and then this will also allow me to my make mappings easier, since ill just be mapping an object to object 1:1 instead of doing logic like figuring out the
TaskCompletionPercentage
in my service and then doing a mapping.70 replies
✅ How to get better at writing EF Queries?
Okay, yeah ik about the types of querying but, im still not at the point where ik when to use which and why etc. I def fall into the preemptive optimization trap, feel like someones gonna come see one of my apps and be like holy this is crap, runs like shit and then move on
70 replies
✅ How to get better at writing EF Queries?
I had a select before, where i was selecting what i wanted and directly mapping it into a DTO, but then i was doing that in my repository layer, and i decided against it because all my mappings to DTOs are in the service layer.
70 replies
✅ How to get better at writing EF Queries?
This project is still in the early stages, I built a project management app, https://questbound.xyz/ that was def too ambitious for my first .NET app, so i decided to take it down a peg and do a small generic todo app to really cement everything in that ive learned lol
70 replies