![]() ![]() Make sure that Docker is set up to use the container type (Linux or Windows) that you are using. Then, continue to make changes, viewing them as you would with IIS Express. To quickly iterate changes in your Razor pages, you can start your application in a container. ![]() In the Docker OS textbox, select the type of container you want (Windows or Linux), and then select Create. If you don't know, choose the LTS (long-term support) release.Ĭhoose whether you want SSL support by selecting or clearing the Configure for HTTPS check box. Select ASP.NET Core Web App, and then select Next.Įnter a name for your new application (or use the default name), specify the location on disk, and then select Next.Ĭhoose the. In the Visual Studio start window, select Create a new project. To debug apps in a local Docker container, the following tools must be installed: If you already have a project of a supported type, Visual Studio can create a Dockerfile and configure your project to run in a container. The examples presented in this article, are a project of type ASP.NET Core Web App and a project of type Console App (.NET Framework). Supported project types include web app, console app, and Azure Function targeting. This article also shows you how to set breakpoints for debugging for containerized apps. This article illustrates how to use Visual Studio to start an app in a local Docker container, make changes, and then refresh the browser to see the changes. You can run and debug your apps in Linux or Windows containers running on your local Windows desktop with Docker installed, and you don't have to restart the container each time you make a code change. Visual Studio provides a consistent way to develop Docker containers and validate your application locally. Applies to: Visual Studio Visual Studio for Mac Visual Studio Code ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |