Skip to content

Commit 591c383

Browse files
committed
App Mod .NET deploy doc.
1 parent 8fd45bf commit 591c383

File tree

4 files changed

+80
-0
lines changed

4 files changed

+80
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
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
5+
ms.custom: devx-track-dotnet
6+
ms.date: 9/03/2025
7+
author: JiDong
8+
ms.author: donji
9+
---
10+
11+
# Quickstart: deploy your project to Azure using GitHub Copilot App Modernization for .NET
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.
15+
16+
## Prerequisites
17+
18+
Before you begin, ensure you have:
19+
20+
- A GitHub account with [GitHub Copilot](https://github.com/features/copilot) enabled (Pro, Pro+, Business, or Enterprise plan required)
21+
- [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/) version 17.14.7 or later
22+
- Agent mode enabled for GitHub Copilot in Visual Studio ([Learn how](/visualstudio/ide/copilot-agent-mode))
23+
24+
### Sign-in to GitHub Copilot
25+
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.
27+
28+
1. Select the Copilot icon at the top of Visual Studio to open the GitHub Copilot pane.
29+
1. Follow the UI prompts to sign-in to Copilot.
30+
31+
For more information, see [Set up GitHub Copilot in Visual Studio](/visualstudio/ide/visual-studio-github-copilot-install-and-states).
32+
33+
## Install the GitHub Copilot app modernization extension
34+
35+
To complete the steps ahead, you need to install the GitHub Copilot app modernization for .NET (Preview) Visual Studio extension.
36+
37+
1. Inside Visual Studio, navigate to `Extensions` > `Manage Extensions`.
38+
1. Search for **GitHub Copilot app modernization for .NET** in the marketplace.
39+
1. On the extension page, select **Install**.
40+
1. Follow the notification bar prompts to close Visual Studio and complete the installation.
41+
1. Relaunch Visual Studio after installation.
42+
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.
44+
45+
For more information, see [Find, install, and manage extensions for Visual Studio](/visualstudio/ide/finding-and-using-visual-studio-extensions).
46+
47+
## Deploy your project
48+
49+
App Modernization for .NET deployment helps you deploy your migrated app to an Azure environment. Follow these steps to start your deployment process:
50+
51+
1. In Visual Studio, open your migrated project.
52+
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.
55+
56+
:::image type="content" source="media/start-deploy.png" alt-text="A screenshot showing how to start the deployment process in GitHub Copilot.":::
57+
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.*
63+
64+
:::image type="content" source="media/start-deploy-prompt.png" alt-text="A screenshot showing how to start the deployment process in GitHub Copilot.":::
65+
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.
67+
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.
69+
70+
5. Edit the file directly or ask GitHub Copilot to edit to customize your deployment before proceeding.
71+
72+
6. Once you are satisfied with the plan, instruct GitHub Copilot to continue.
73+
74+
7. GitHub Copilot follows the plan and executes the deployment process.
75+
76+
## 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.
133 KB
Loading
57.9 KB
Loading

docs/azure/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ items:
3434
href: ./migration/appmod/predefined-tasks.md
3535
- name: Quickstart - Assess and migrate a .NET project
3636
href: ./migration/appmod/quickstart.md
37+
- name: Quickstart - Deploy a .NET project to Azure
38+
href: ./migration/appmod/deploy.md
3739
- name: Sample - Contoso University
3840
href: ./migration/appmod/sample.md
3941
- name: Azure Migrate application and code assessment

0 commit comments

Comments
 (0)