I want to build a new web app and potentially API using ASP.NET Core, at least for the web app.
I just want to know if anyone has experience and could tell me if it would be a good idea to have the calls to microservices within the controllers for each Action in a Controller or if, for mostly performance and cohesion, I should have all the code in Services and concentrated within the ASP.NET Core?
This is a green field projecto, so I’m starting it from scratch and I want it to be scalable and well as efficient. I also don’t want to limit the system to ASP.NET Core because this projecto might also add mobile apps in the future, so if anyone can give me some opinions that would be nice!
Source: Stack Overflow