Currently, there is a layered architecture project where MVC as the presentation layer, WCF as the service layer. So they both can be hosted separately in 2 physical servers. The client requires same deployment structure for the new project which I'm planning to do in .net core.
If a .net core application developed in onion architecture, can it be deployed like a traditional 3-tier web-app? That is to be deployed in 3 physical servers (Web Server, Service App, Database) such as core MVC / Angular, web api, DB.
Update: I tried following with .net core project
- .net core MVC as presentation layer
- Web API as Service layer
Then a problem in handling sessions. Sessions are handled in Web Server (MVC project). How to implement similar authentication as .net core MVC do not have db access, authenticating through web api project (Which acts as service layer), How to implement this with tokens?
Any best practices or guidelines available? Thanks in Advance