Chapter 3
Modernizing Your Application Architecture for the Cloud
Section 1
The Web Application Project — Monolith to Multi-Tiered Solution
We will transform the actual monolith architecture into multi-tiered one, in order to enhance the flexibility of the application. - Create new ASPNET Core project, for the Music Store Service layer, copy all Model and Data Context structure to the new project, then remove all Data Context from the Front Web (Presentation) - Set up the configuration for the new project (for the Data Context, Web API, and so on), refactor the Controllers in the old project - Reference connection to the new Service API in the Front Web. Wire the calls from the Presentation controllers to the new Service API façade