|
as someone transitioning from legacy desktop dev (winforms) to modern .net web backends, the biggest hurdle for me was figuring out how to actually organize my code so it doesn't turn into a massive ball of mud. i kept reading about "clean architecture" and "separation of concerns," but the buzzwords didn't really click for me until I built my current side project and forced myself to split everything into physical project folders. i wanted to share my mental model of how i organized the solution. i know it might be overkill for a side project, but i'm trying to learn enterprise patterns. for the senior devs here, i'd love to know if this is how you actually think about it in production:
honestly, breaking it down into these separate projects took way longer to set up initially, but it makes debugging so much easier. if the database fails, i know exactly which folder to look in. does this structure look right to you guys? or did i completely overcomplicate the middle layers? repo is here if you want to see how they link together: https://github.com/COxRIPMIZO/CryptoKeyLab would appreciate any roasts or advice on how to improve this! submitted by /u/lostpixel-media to r/csharp |
Source: r/csharp · by /u/lostpixel-media
