I'm building an ASP.NET MVC project and want to know the best way to structure my folders and layers (Models, Views, Controllers, Services, etc.). What practices do you follow for clean separation of concerns?
Best Folder Structure for an ASP.NET MVC Project
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


RinkiRank #188 · 12.9K reputationPosted May 21, 2025, 7:38 AM EDT
If you want a clean seperation of concerns, you can use N-Layer architecture. By this you can enforce separation of concerns more clearly by using multiple projects in a solution.
Some of the best practices you can follow are-
Keep your logic in services and keep your controller as clean as possible.
Do not mix the logic of different features. Always keep it seperate.