© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
60 replies
Alex

Help with API structure

I want to create modular API structure https://timdeschryver.dev/blog/maybe-its-time-to-rethink-our-project-structure-with-dot-net-6#a-domain-driven-api like in this article. I split solution into .API and .Modules project. The problem is that I'm using MVC in my project and I don't how to apply it for MVC. For example where should I create controllers? In API project or Modules project?
Vocabify.API/
  - Controllers/
    Controller1.cs
Vocabify.Modules/
  IModule.cs
  - Module1
  - Module2
Vocabify.API/
  - Controllers/
    Controller1.cs
Vocabify.Modules/
  IModule.cs
  - Module1
  - Module2
Maybe it's time to rethink our project structure with .NET 6
Challenging the status quo with some thoughts on the new .NET Minimal Web API to keep code simple
Maybe it's time to rethink our project structure with .NET 6
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
Next page

Similar Threads

API structure
C#CC# / help
2y ago
❔ StructureMap.StructureMapException: StructureMap Exception Code: 207
C#CC# / help
3y ago
Help with program structure.
C#CC# / help
3y ago
Web API: structure
C#CC# / help
16mo ago