![]() Add a new project to the existing solution by right-clicking on the solution and choosing Add > Add New Project.NET Core API template includes a controller that allows us to handle RESTful requests. Next we will create a second project which will act as our backend API. 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. In the Solution Window, right click the DockerDemoFrontEnd project and select Add > Add Docker Support:.The created project contains all the basics you need to build and run an ASP.NET Core web site. Enter the project details, such as Project Name ( DockerDemoFrontEnd in this example) and Solution Name ( DockerDemo).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 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |