Deploying to the cloud

You can deploy your .NET Core applications to the cloud using any cloud provider, for example, Amazon Web Services (AWS) or Microsoft Azure.

Creating an ASP.NET Core MVC web application to publish

In Visual Studio 2017, add a new ASP.NET Core Web Application (.NET Core) project named Ch16_ImageEditorSite. Choose the Web Application template and enable Docker support, as shown in the following screenshot:

Creating an ASP.NET Core MVC web application to publish

In Visual Studio Code, create a folder named Ch16_ImageEditorSite, and open the folder. In Terminal, enter the command: dotnet new mvc.

Since we are focusing on learning how to publish and deploy, rather than how to build web ...

Get C# 7 and .NET Core now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.