Running an ASP.NET Core application from Visual Studio 2017 inside Docker

So where does this all leave us? We have had a look at how to set up Docker on Windows 10, as well as how to resolve a few issues surrounding this setup. Let us now have a look at how to create an ASP.NET Core application and add Docker support to the new application.

  1. Create a new ASP.NET Core Web Application in Visual Studio 2017 and click OK:
  1. On the next screen, select Web Application (Model-View-Controller) or any type you like, while ensuring that ASP.NET Core 2.0 is selected from the drop-down list. Then check the Enable Docker Support checkbox. This will enable ...

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

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