Hosting the services
Since our web implementation makes use of ASP.NET Core, we are blessed with multiple deployment and hosting options that span across Windows and Linux platforms. The first option we will be looking at is the Azure Web App setup, which can be set up on a Windows or Linux service plan. We will then move our ASP.NET application into a Docker container, which can be hosted on any of the container orchestration platforms that we have previously mentioned or simply also within an Azure web app running on a Linux server farm.
Azure Web App for App Service
At this point, without any additional implementation or configuration, our microservices are ready for deployment and they can already be hosted on the Azure cloud as a fully managed app service. In order to deploy the service as an app service, you can use Visual Studio Azure extensions, which allow you to create a publish profile, as well as the target hosting environment.
Let's see how we can do this...