-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New copilot analysis doc #42999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
New copilot analysis doc #42999
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b010fb3
New copilot analysis doc
alexwolfmsft 3b919fc
changes
alexwolfmsft ba9dc21
fixes
alexwolfmsft 9cf78fd
Apply suggestions from code review
alexwolfmsft 4282e50
fix toc
alexwolfmsft f54e08c
update titles
alexwolfmsft a91e056
Apply suggestions from code review
alexwolfmsft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| --- | ||
| title: Use GitHub Copilot for Visual Studio with the Azure Migrate application and code assessment for .NET | ||
| description: Learn how to use GitHub Copilot with the Azure Migrate application and code assessment tool for .NET when evaluating apps for Azure migrations. | ||
| ms.topic: conceptual | ||
| ms.date: 10/09/2024 | ||
| author: alexwolfmsft | ||
| ms.author: alexwolf | ||
| --- | ||
|
|
||
| # Use Copilot Conversational Analysis with the Azure Migrate application and code assessment tool | ||
|
|
||
| Azure Migrate application and code assessment for .NET integrates with the GitHub Copilot extension for Visual Studio. Together, they provide conversational analysis about your migration reports. GitHub Copilot can help you learn more about the overall results, specific issues and determine next steps. In this article, you learn how to use GitHub Copilot to analyze the results of a completed Azure migration report. | ||
|
|
||
| > [!NOTE] | ||
| > Copilot integration is not available natively using the [.NET CLI version](/dotnet/azure/migration/appcat/dotnet-cli) of Azure Migrate application and code assessment for .NET. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - Install [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) version 17.10 or later | ||
| - [Install GitHub Copilot for Visual Studio extension](/dotnet/azure/migration/appcat/visual-studio) | ||
alexwolfmsft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - [Install a version of .NET](https://dotnet.microsoft.com/download) that supports the app you're trying to migrate | ||
| - [Scan your application in Visual Studio](/dotnet/azure/migration/appcat/visual-studio) to use Copilot conversational analysis. Copilot relies on a completed scan report to provide suggestions. | ||
alexwolfmsft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Analyze the Azure compatibility report with Copilot | ||
|
|
||
| Visual Studio displays the results of the Azure Migrate application and code assessment tool scan using an interactive dashboard. If you have the GitHub Copilot extension installed, additional options are available to start a chat with your Copilot. You can start a chat about the overall results of the report, or prompt Copilot about a specific issue. | ||
|
|
||
| ### Chat about the dashboard results | ||
|
|
||
| The main dashboard of the Azure compatibility report shows a summary of the scan, including next steps, issue severity and issue categories. You can use Github Copilot to chat about these results and specific follow up tasks. | ||
alexwolfmsft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| 1. In the **NEXT STEPS** section of the Azure compatibility report, select the **Open chat** button to launch a chat session with GitHub Copilot. | ||
| 1. Visual Studio sends a default prompt asking for assistance with migrating the scanned solution. Copilot responds with a summary of the identified issues and provides clickable links to select specific issues to follow up on. | ||
|
|
||
| :::image type="content" source="media/vs/copilot-dashbboard-analyze.png" lightbox="media/vs/copilot-dashbboard-analyze.png" alt-text="A screenshot showing GitHub Copilot integration with the Azure Migrate application and code assessment tool dashboard report page."::: | ||
|
|
||
| 1. Select one of the proposed issues in the chat response to begin further analysis. You can also send your own custom chat prompts to Copilot using the input box at the bottom of the Copilot extension window. | ||
| 1. Continue chatting with Copilot to explore solutions to the discovered issues. | ||
|
|
||
| ### Chat about a specific issue | ||
|
|
||
| The Azure compatibility report also provides specific details about the aggregate issues discovered during the scan. You can use Copilot to investigate and learn more about these issues, as well as options or next steps to resolve them. | ||
alexwolfmsft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| 1. On the main dashboard page of the Azure compatibility report, select **Aggregate issues** on the left navigation to switch to the issues view. The new view displays a list of issues and related information, such as their estimated severity and state. | ||
| 1. Select the arrow icon next to an issue you're interested in to see more details, and then select the **Ask Copilot** button to start a new Copilot chat about that specific issue. | ||
|
|
||
| > [!NOTE] | ||
| > THe **Ask Copilot** feature shares the description of the issue as well details about the code snippet that triggered the issue with GitHub Copilot. Only select **Ask Copilot** if you are comfortable sending the details of that issue to Copilot. | ||
alexwolfmsft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| :::image type="content" source="media/vs/copilot-issue-analyze.png" lightbox="media/vs/copilot-issue-analyze.png" alt-text="A screenshot showing GitHub Copilot integration with the Azure Migrate application and code assessment tool issues report page."::: | ||
|
|
||
| In the preceding screenshot, the scan discovered that the app is using Windows authentication, which is not available on Azure, so Copilot responds with alternatives and general implementation steps. | ||
|
|
||
| 1. Ask clarifying questions using the chat input at the bottom of the Copilot extension window. | ||
|
|
||
| ## Next steps | ||
|
|
||
| - [Interpret the analysis results from the Azure Migrate application and code assessment for .NET](./interpret-results.md). | ||
| - [Customize analysis using run configs](/dotnet/azure/migration/appcat/custom-configuration) | ||
alexwolfmsft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - [Frequently asked questions](/dotnet/azure/migration/appcat/faq) | ||
alexwolfmsft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.