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
Copy file name to clipboardExpand all lines: docs/azure/migration/appmod/quickstart.md
+29-27Lines changed: 29 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
---
2
-
title: GitHub Copilot app modernization for .NET quickstart
2
+
title: Assess and migrate a .NET project with GitHub Copilot app modernization for .NET
3
+
ms.reviewer: alexwolf
3
4
description: Learn how to assess and migrate a .NET project by using GitHub Copilot app modernization for .NET.
4
5
ms.topic: quickstart
5
6
ms.custom: devx-track-dotnet
6
-
ms.date: 09/17/2025
7
+
ms.date: 09/22/2025
7
8
author: alexwolfmsft
8
9
ms.author: alexwolf
10
+
#customer intent: As a .NET developer, I want to assess my project's migration readiness so that I can identify potential challenges and plan the modernization process effectively.
9
11
---
10
12
11
13
# Quickstart: Assess and migrate a .NET project with GitHub Copilot app modernization for .NET
@@ -17,60 +19,60 @@ In this quickstart, you assess and migrate a .NET project by using GitHub Copilo
17
19
18
20
## Prerequisites
19
21
20
-
- Windows Operating System
22
+
- Windows operating system
21
23
-[Visual Studio 2022 version 17.14.16 or newer](https://visualstudio.microsoft.com/downloads/)
22
-
-[.NET desktop development workload](/visualstudio/install/modify-visual-studio?view=vs-2022&preserve-view=true#change-workloads-or-individual-components) with the following optional components enabled:
24
+
-[.NET desktop development workload](/visualstudio/install/modify-visual-studio?view=vs-2022&preserve-view=true#change-workloads-or-individual-components) with these optional components enabled:
23
25
- GitHub Copilot
24
26
- GitHub Copilot app modernization for .NET
25
-
- GitHub account with Copilot access and supported subscription plan:
26
-
-[Sign in to Visual Studio using a GitHub account](/visualstudio/ide/work-with-github-accounts) with [Copilot access](https://docs.github.com/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot)
- If you change subscriptions, you must restart Visual Studio
27
+
- GitHub account with Copilot access and a supported subscription plan:
28
+
-[Sign in to Visual Studio using a GitHub account](/visualstudio/ide/work-with-github-accounts) with [Copilot access](https://docs.github.com/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot).
- If you change subscriptions, restart Visual Studio.
29
31
30
32
## Assess app readiness
31
33
32
-
The app modernization for .NET assessment helps you find your app readiness challenges, understand their impact, and see recommended migration tasks. Each migration task includes references to set up Azure resources, add configurations, and make code changes. Follow these steps to start your migration process:
34
+
The app modernization for .NET assessment helps you find app readiness challenges, learn their impact, and see recommended migration tasks. Each migration task includes references to set up Azure resources, add configurations, and make code changes. Follow these steps to start your migration:
33
35
34
-
1. Clone the [.NET migration copilot samples](https://github.com/Azure-Samples/dotnet-migration-copilot-samples) repository to your local machine.
36
+
1. Clone the [.NET migration copilot samples](https://github.com/Azure-Samples/dotnet-migration-copilot-samples) repository to your computer.
35
37
36
-
2. In Visual Studio, open the **Contoso University** solution from the samples repository.
38
+
1. In Visual Studio, open the **Contoso University** solution from the samples repository.
37
39
38
-
3. In the solution explorer, right-click the solution node and select **Modernize**.
40
+
1. In Solution Explorer, right-click the solution node and select **Modernize**.
39
41
40
42
:::image type="content" source="media/modernize-solution.png" alt-text="Screenshot that shows the modernize option in the context menu.":::
41
43
42
-
4. The GitHub Copilot Chat window opens with a welcome message and predefined options. Select **Migrate to Azure** from the available choices and send it to Copilot.
44
+
1. The GitHub Copilot Chat window opens with a welcome message and predefined options. Select **Migrate to Azure** from the available choices and send it to Copilot.
43
45
44
46
:::image type="content" source="media/modernization-welcome.png" alt-text="Screenshot that shows the welcome message with migration options.":::
45
47
46
48
> [!TIP]
47
49
> Instead of steps 3 and 4, you can open **GitHub Copilot Chat** directly and send `@Modernize Migrate to Azure` to start the assessment and migration flow.
48
50
49
-
5. A new Copilot chat session opens and shows the welcome message. The assessment starts automatically and analyzes your project for migration readiness.
51
+
1. A new Copilot chat session opens and shows the welcome message. The assessment starts automatically and analyzes your project for migration readiness.
50
52
51
53
:::image type="content" source="media/assessment-in-process.png" alt-text="Screenshot that shows assessment in progress with status indicators.":::
52
54
53
-
6. When the assessment finishes, you see a comprehensive assessment report UI page and a list of migration tasks in the chat window.
55
+
1. When the assessment finishes, you see a comprehensive assessment report UI page and a list of migration tasks in the chat window.
54
56
55
57
:::image type="content" source="media/assessment-report.png" alt-text="Screenshot that shows the generated assessment report with detailed findings.":::
56
58
57
59
## App migrations
58
60
59
-
GitHub Copilot app modernization for .NET includes [predefined tasks](predefined-tasks.md) for common migration scenarios, following Microsoft's best practices.
61
+
GitHub Copilot app modernization for .NET includes [predefined tasks](predefined-tasks.md) for common migration scenarios and follows Microsoft's best practices.
60
62
61
63
### Start a migration task
62
64
63
-
Start a migration task using one of the following options:
65
+
Start a migration task in one of the following ways:
64
66
65
67
**Option 1. Run from the Assessment Report**
66
68
67
-
Select the **Run Task** button in the Assessment Report generated in the previous step to start a migration task.
69
+
Select the **Run Task** button in the Assessment Report from the previous step to start a migration task.
68
70
69
71
**Option 2. Send in Copilot Chat**
70
72
71
73
Send the migration task number (for example, 1.1) or its name in the chat.
72
74
73
-
:::image type="content" source="media/quickstart-chat-experience.png" alt-text="A screenshot showing sending the message in the Copilot Chat to start a migration task.":::
75
+
:::image type="content" source="media/quickstart-chat-experience.png" alt-text="Screenshot of sending a message in Copilot Chat to start a migration task.":::
74
76
75
77
### Plan and progress tracker generation
76
78
@@ -82,10 +84,10 @@ Send the migration task number (for example, 1.1) or its name in the chat.
82
84
83
85
### Start code remediation
84
86
85
-
- If you're satisfied with the plan and progress tracker, enter a prompt to start the migration, such as the following:
87
+
- If you're satisfied with the plan and progress tracker, enter a prompt to start the migration, such as:
86
88
87
89
```console
88
-
`The plan and progress tracker look good to me. Go ahead with the migration.`
90
+
The plan and progress tracker look good to me. Go ahead with the migration.
89
91
```
90
92
91
93
- GitHub Copilot starts the migration process and might ask for your approval to use knowledge base tools in the Model Context Protocol (MCP) server. Grant permission when prompted.
@@ -94,22 +96,22 @@ Send the migration task number (for example, 1.1) or its name in the chat.
94
96
- Apply configuration changes
95
97
- Make code changes
96
98
- Build the solution, fix all compilation and configuration errors, and ensure a successful build
97
-
- Security vulnerability fix
99
+
- Fix security vulnerabilities
98
100
99
101
## Default chat messages
100
102
101
-
The GitHub Copilot app modernization for .NET extension provides default chat message options to streamline your workflow.
103
+
The GitHub Copilot app modernization for .NET extension gives you default chat message options to streamline your workflow.
102
104
103
105
:::image type="content" source="media/quickstart-followup.png" alt-text="Screenshot that shows default chat message options in the Copilot Chat.":::
104
106
105
107
You can choose one of the predefined options and send it in the chat:
106
108
107
-
- **Run modernization assessment**: Initiates a comprehensive new assessment of your application to identify migration readiness issues and Azure compatibility challenges.
108
-
- **View assessment report**: Opens the previously generated assessment report and provides a summarized list of migration tasks based on the assessment results. If no previous assessment exists, it automatically runs a new assessment first.
109
-
- **Browse top migration tasks**: Displays recommended migration tasks and common modernization scenarios, independent of any specific assessment results.
109
+
- **Run modernization assessment**: Starts a new assessment of your application to identify migration readiness issues and Azure compatibility challenges.
110
+
- **View assessment report**: Opens the previous assessment report and shows a summary of migration tasks based on the results. If no previous assessment exists, it runs a new assessment first.
111
+
- **Browse top migration tasks**: Shows recommended migration tasks and common modernization scenarios, regardless of any specific assessment results.
110
112
111
113
> [!TIP]
112
-
> These default messages help you quickly navigate common workflows without typing custom prompts. You can also type your own custom messages to interact with Copilot for specific questions or requirements.
114
+
> These default messages help you quickly navigate common workflows without typing custom prompts. You can also enter your own messages to interact with Copilot for specific questions or needs.
0 commit comments