

Create an ASP.NET Core Web API and Add Docker Support Visual Studio for Mac will automatically add a new project to your solution called docker-compose and add a Dockerfile to your existing project.

Under Web and Console > App choose the Web Application template:.Create a new solution by going to File > New Solution.PrerequisitesĬreate an ASP.NET Core Web Application and Add Docker Support Looking for steps on the Windows version of Visual Studio, read Tutorial: Create a multi-container app with Docker Compose with Visual Studio for Windows. In this tutorial, you'll learn how to manage more than one container and communicate between them when using Docker Compose in Visual Studio for Mac. Applies to: Visual Studio for Mac Visual Studio
