Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions docs/azure/migration/appmod/deploy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
title: Quickstart: deploy your project to Azure using GitHub Copilot App Modernization for .NET (Preview)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
title: Quickstart: deploy your project to Azure using GitHub Copilot App Modernization for .NET (Preview)
title: Quickstart: Deploy your project to Azure using GitHub Copilot App Modernization for .NET (Preview)

description: deploy your project to Azure using GitHub Copilot App Modernization for .NET (Preview)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: deploy your project to Azure using GitHub Copilot App Modernization for .NET (Preview)
description: Deploy your project to Azure using GitHub Copilot App Modernization for .NET (Preview)

ms.topic: concept-article
ms.custom: devx-track-dotnet
ms.date: 9/03/2025
author: JiDong
ms.author: donji
---

# Quickstart: deploy your project to Azure using GitHub Copilot App Modernization for .NET
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Quickstart: deploy your project to Azure using GitHub Copilot App Modernization for .NET
# Quickstart: Deploy your project to Azure using GitHub Copilot App Modernization for .NET


This quickstart shows you how to deploy your project to Azure when you use [GitHub Copilot app modernization for .NET (Preview)](https://aka.ms/appmod-dotnet-marketplace).
In code development, developers often need to deploy their project to a cloud environment for testing. Our tools help deploy your migrated project to Azure and fix any deployment errors in the process.

## Prerequisites

Before you begin, ensure you have:

- A GitHub account with [GitHub Copilot](https://github.com/features/copilot) enabled (Pro, Pro+, Business, or Enterprise plan required)
- [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/) version 17.14.7 or later
- Agent mode enabled for GitHub Copilot in Visual Studio ([Learn how](/visualstudio/ide/copilot-agent-mode))

### Sign-in to GitHub Copilot

GitHub Copilot is a dependency of the App Modernization Extension and experience. Make sure you're signed-in to GitHub Copilot inside Visual Studio.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like there's a word missing near the end of the first sentence.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
GitHub Copilot is a dependency of the App Modernization Extension and experience. Make sure you're signed-in to GitHub Copilot inside Visual Studio.
GitHub Copilot is a dependency of the App Modernization Extension and experience. Make sure you're signed in to GitHub Copilot inside Visual Studio.


1. Select the Copilot icon at the top of Visual Studio to open the GitHub Copilot pane.
1. Follow the UI prompts to sign-in to Copilot.

For more information, see [Set up GitHub Copilot in Visual Studio](/visualstudio/ide/visual-studio-github-copilot-install-and-states).

## Install the GitHub Copilot app modernization extension

To complete the steps ahead, you need to install the GitHub Copilot app modernization for .NET (Preview) Visual Studio extension.

1. Inside Visual Studio, navigate to `Extensions` > `Manage Extensions`.
1. Search for **GitHub Copilot app modernization for .NET** in the marketplace.
1. On the extension page, select **Install**.
1. Follow the notification bar prompts to close Visual Studio and complete the installation.
1. Relaunch Visual Studio after installation.

You can also view the [GitHub Copilot app modernization for .NET (Preview)](https://aka.ms/appmod-dotnet-marketplace) extension directly on the extension marketplace.

For more information, see [Find, install, and manage extensions for Visual Studio](/visualstudio/ide/finding-and-using-visual-studio-extensions).

## Deploy your project

App Modernization for .NET deployment helps you deploy your migrated app to an Azure environment. Follow these steps to start your deployment process:

1. In Visual Studio, open your migrated project.

2. Start the deployment using one of the following approaches:
* Deploy your project after completing your migration task. Copilot will ask you if you would like to deploy your project to Azure upon completing a migration task. Instructing Copilot to continue will start the deployment process.

:::image type="content" source="media/start-deploy.png" alt-text="A screenshot showing how to start the deployment process in GitHub Copilot.":::

* Deploy prompt.

Check failure on line 59 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces

docs/azure/migration/appmod/deploy.md:59:1 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 6] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md
You can input the following prompt in Copilot chat to deploy your project to Azure.

Check failure on line 61 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces

docs/azure/migration/appmod/deploy.md:61:1 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 6] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md
*Scan my project to identify all Azure-relevant resources, programming languages, frameworks, dependencies, and configuration files needed for deployment, and develop an architecture diagram for me using #appmod-generate-architecture-diagram. Based on that diagram, help me develop and execute a plan using #appmod-get-plan to deploy my project to Azure. deployTool: azcli, hosting service: non-aks.*

:::image type="content" source="media/start-deploy-prompt.png" alt-text="A screenshot showing how to start the deployment process in GitHub Copilot.":::

3. After you start the deployment, GitHub Copilot might ask for your approval to use tools in the Model Context Protocol (MCP) server. Grant permission when prompted.

Check failure on line 66 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Hard tabs

docs/azure/migration/appmod/deploy.md:66:3 MD010/no-hard-tabs Hard tabs [Column: 3] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md

4. GitHub Copilot will create a plan.copilot.md file in the.azure folder. This file explains the overall deployment plan including deployment goal, project information, Azure resource architecture, Azure resources, and execution steps.

Check failure on line 68 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Hard tabs

docs/azure/migration/appmod/deploy.md:68:3 MD010/no-hard-tabs Hard tabs [Column: 3] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md

Check failure on line 68 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces

docs/azure/migration/appmod/deploy.md:68:236 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
4. GitHub Copilot will create a plan.copilot.md file in the.azure folder. This file explains the overall deployment plan including deployment goal, project information, Azure resource architecture, Azure resources, and execution steps.
4. GitHub Copilot creates a `plan.copilot.md` file in the `.azure` folder. This file explains the overall deployment plan including deployment goal, project information, Azure resource architecture, Azure resources, and execution steps.


5. Edit the file directly or ask GitHub Copilot to edit to customize your deployment before proceeding.

Check failure on line 70 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Hard tabs

docs/azure/migration/appmod/deploy.md:70:3 MD010/no-hard-tabs Hard tabs [Column: 3] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md

6. Once you are satisfied with the plan, instruct GitHub Copilot to continue.

Check failure on line 72 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Hard tabs

docs/azure/migration/appmod/deploy.md:72:3 MD010/no-hard-tabs Hard tabs [Column: 3] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
6. Once you are satisfied with the plan, instruct GitHub Copilot to continue.
6. Once you're satisfied with the plan, instruct GitHub Copilot to continue.


7. GitHub Copilot follows the plan and executes the deployment process.

Check failure on line 74 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Hard tabs

docs/azure/migration/appmod/deploy.md:74:3 MD010/no-hard-tabs Hard tabs [Column: 3] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md

## Notes

Check failure on line 76 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Headings should be surrounded by blank lines

docs/azure/migration/appmod/deploy.md:76 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Notes"] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md
* We recommend using Claude Sonnet 4 or later models for the best results.

Check failure on line 77 in docs/azure/migration/appmod/deploy.md

View workflow job for this annotation

GitHub Actions / lint

Lists should be surrounded by blank lines

docs/azure/migration/appmod/deploy.md:77 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "* We recommend using Claude So..."] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* We recommend using Claude Sonnet 4 or later models for the best results.
* We recommend using Claude Sonnet 4 or later models for the best results.

* It might take Copilot a few iterations to correct deployment errors.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/azure/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ items:
href: ./migration/appmod/predefined-tasks.md
- name: Quickstart - Assess and migrate a .NET project
href: ./migration/appmod/quickstart.md
- name: Quickstart - Deploy a .NET project to Azure
href: ./migration/appmod/deploy.md
- name: Sample - Contoso University
href: ./migration/appmod/sample.md
- name: Azure Migrate application and code assessment
Expand Down
Loading