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: Modern Cross-Platform Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.