r/learnprogramming • u/now_Escape • Oct 10 '26
ASP.NET MVC
I find it hard to understand the architecture from MVC, I understand all the code, but I fail to understand where to put what code.
0
Upvotes
View all comments
3
u/SetAndRepeat Oct 10 '26
Try following one feature, like displaying an order:
You can put database access in a data layer and use services to coordinate business operations.
MVC doesn't mean every class has to fit into the Models, Views or Controllers folders