© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2mo ago•
11 replies
Tiger [@ to reply]

Any good guide on project structuring

intermediate
I wasn't sure what tag to use as maybe it's a beginner thing though I'm advanced in C# just this particular thing I never really paid attention to. If my tag is wrong, I apologize for it. And I'm not sure if questions like this are allowed or whether they might be too vague, so if not then apologies for that as well.

I want to make a game server in C# with websocket networking, database connections and packet handling, using dependency injection (a console application). Before, I would put it all in one project however this is something I try to avoid as I think this isn't the best practice.

I wonder if someone could guide me to a good guide to structure my project properly or tell me how I would. I'm not sure where to put separate code/classes/interfacesa in which projects. I do know I would have like a "Protocol", "Networking", "Storage/Database" projects and of course the main project, however that's as far as I got. I tried looking online but I couldn't find a real good guide especially for my use case.
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

Service Agnostic API Wrapper Library Project Structuring
C#CC# / help
4mo ago
any good tutorials
C#CC# / help
4mo ago
✅ Structuring Unit Tests
C#CC# / help
13mo ago
EF Structuring Problem
C#CC# / help
4y ago