You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Quickstart: deploy your project to Azure using GitHub Copilot App Modernization for .NET (Preview)
3
-
description: deploy your project to Azure using GitHub Copilot App Modernization for .NET (Preview)
4
-
ms.topic: concept-article
2
+
title: Deploy your project to Azure using GitHub Copilot app modernization for .NET
3
+
description: Learn how to deploy your migrated .NET project to Azure using GitHub Copilot app modernization for .NET.
4
+
ms.topic: quickstart
5
5
ms.custom: devx-track-dotnet
6
6
ms.date: 9/03/2025
7
7
author: JiDong
8
8
ms.author: donji
9
9
---
10
10
11
-
# Quickstart: deploy your project to Azure using GitHub Copilot App Modernization for .NET
11
+
# Deploy your project to Azure using GitHub Copilot app modernization for .NET
12
12
13
-
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).
14
-
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.
13
+
In this quickstart, you learn how to deploy your project to Azure when you use [GitHub Copilot app modernization for .NET (Preview)](https://aka.ms/appmod-dotnet-marketplace). This tool helps you deploy migrated projects to Azure and automatically fixes deployment errors during the process.
15
14
16
15
## Prerequisites
17
16
18
-
Before you begin, ensure you have:
17
+
Before you begin, ensure you have the following prerequisites:
19
18
20
19
- A GitHub account with [GitHub Copilot](https://github.com/features/copilot) enabled (Pro, Pro+, Business, or Enterprise plan required)
21
20
-[Visual Studio 2022](https://visualstudio.microsoft.com/downloads/) version 17.14.7 or later
22
21
- Agent mode enabled for GitHub Copilot in Visual Studio ([Learn how](/visualstudio/ide/copilot-agent-mode))
23
22
24
23
### Sign-in to GitHub Copilot
25
24
26
-
GitHub Copilot is a dependency of the App Modernization Extension and experience. Make sure you're signed-in to GitHub Copilot inside Visual Studio.
25
+
GitHub Copilot is required for the App Modernization extension. Make sure you're signed-in to GitHub Copilot inside Visual Studio:
27
26
28
27
1. Select the Copilot icon at the top of Visual Studio to open the GitHub Copilot pane.
29
28
1. Follow the UI prompts to sign-in to Copilot.
@@ -32,47 +31,47 @@ For more information, see [Set up GitHub Copilot in Visual Studio](/visualstudio
32
31
33
32
## Install the GitHub Copilot app modernization extension
34
33
35
-
To complete the steps ahead, you need to install the GitHub Copilot app modernization for .NET (Preview) Visual Studio extension.
34
+
To complete the steps in this quickstart, you need to install the GitHub Copilot app modernization for .NET (Preview) Visual Studio extension:
36
35
37
-
1. Inside Visual Studio, navigate to `Extensions` > `Manage Extensions`.
36
+
1. Inside Visual Studio, navigate to **Extensions** > **Manage Extensions**.
38
37
1. Search for **GitHub Copilot app modernization for .NET** in the marketplace.
39
38
1. On the extension page, select **Install**.
40
39
1. Follow the notification bar prompts to close Visual Studio and complete the installation.
41
40
1. Relaunch Visual Studio after installation.
42
41
43
-
You can also view the [GitHub Copilot app modernization for .NET (Preview)](https://aka.ms/appmod-dotnet-marketplace) extension directly on the extension marketplace.
42
+
You can also view the [GitHub Copilot app modernization for .NET (Preview)](https://aka.ms/appmod-dotnet-marketplace) extension directly in the extension marketplace.
44
43
45
44
For more information, see [Find, install, and manage extensions for Visual Studio](/visualstudio/ide/finding-and-using-visual-studio-extensions).
46
45
47
46
## Deploy your project
48
47
49
-
App Modernization for .NET deployment helps you deploy your migrated app to an Azure environment. Follow these steps to start your deployment process:
48
+
The App Modernization for .NET deployment feature helps you deploy your migrated app to Azure. Follow these steps to start the deployment process:
50
49
51
50
1. In Visual Studio, open your migrated project.
52
51
53
-
2. Start the deployment using one of the following approaches:
54
-
* 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.
52
+
1. Start the deployment using one of the following approaches:
55
53
56
-
:::image type="content" source="media/start-deploy.png" alt-text="A screenshot showing how to start the deployment process in GitHub Copilot.":::
54
+
-**Deploy after migration**: Deploy your project after completing your migration task. Copilot will ask if you'd like to deploy your project to Azure upon completing a migration task. Instructing Copilot to continue will start the deployment process.
57
55
58
-
* Deploy prompt.
59
-
60
-
You can input the following prompt in Copilot chat to deploy your project to Azure.
61
-
62
-
*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.*
56
+
:::image type="content" source="media/start-deploy.png" alt-text="Screenshot showing how to start the deployment process in GitHub Copilot.":::
63
57
64
-
:::image type="content" source="media/start-deploy-prompt.png" alt-text="A screenshot showing how to start the deployment process in GitHub Copilot.":::
58
+
-**Use a deployment prompt**: You can input the following prompt in Copilot chat to deploy your project to Azure:
65
59
66
-
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.
60
+
*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.*
67
61
68
-
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.
62
+
:::image type="content" source="media/start-deploy-prompt.png" alt-text="Screenshot showing how to start the deployment process in GitHub Copilot using a prompt.":::
69
63
70
-
5. Edit the file directly or ask GitHub Copilot to edit to customize your deployment before proceeding.
64
+
1. 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.
71
65
72
-
6. Once you are satisfied with the plan, instruct GitHub Copilot to continue.
66
+
1. GitHub Copilot creates a `plan.copilot.md` file in the `.azure` folder. This file explains the overall deployment plan, including deployment goals, project information, Azure resource architecture, Azure resources, and execution steps.
73
67
74
-
7. GitHub Copilot follows the plan and executes the deployment process.
68
+
1. Edit the file directly or ask GitHub Copilot to edit it to customize your deployment before proceeding.
69
+
70
+
1. Once you're satisfied with the plan, instruct GitHub Copilot to continue.
71
+
72
+
1. GitHub Copilot follows the plan and executes the deployment process.
75
73
76
74
## Notes
77
-
* We recommend using Claude Sonnet 4 or later models for the best results.
78
-
* It might take Copilot a few iterations to correct deployment errors.
75
+
76
+
- We recommend using Claude Sonnet 4 or later models for the best results.
77
+
- It might take Copilot a few iterations to correct deployment errors.
0 commit comments