This content originally appeared on DEV Community and was authored by Size
Project: I’m trying to learn .NET MVC version 8 and have already created models and migrated the data to MSSQL. Now I’m working on creating controllers and services.
Goal: I want to build it using Onion Architecture.
Problem: When I create the controller, I need to return the view. How can I do this while designing the controller according to Onion Architecture? As far as I know, CRUD operations are implemented in the controller. I’m not sure where to place the return View() in this architecture.
Suggestions: If you believe that Onion Architecture is not suitable, I am also open to other architectural approaches.
Thx
This content originally appeared on DEV Community and was authored by Size
Size | Sciencx (2024-08-02T17:59:23+00:00) I need help regarding architecture in .NET MVC.. Retrieved from https://www.scien.cx/2024/08/02/i-need-help-regarding-architecture-in-net-mvc/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.