Reputation: 33978
I am designing architecture for one small application, one of the requirements is to have everything exposed as services. I know that with web api controllers thats pretty easy to do.
However I am unsure if I still must have the normal MVC controllers also in the design.
If you have experience in design and architecture, can you please share your thoughts on this?, do you consider this diagram is correct or how should I improve it?
Upvotes: 1
Views: 56
Reputation: 1980
You could follow this approach:
Like you said, your application is small, but you could follow some principles of DDD, and always create an application more decoupled, and easy to maintain.
Upvotes: 3