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: lab/part1-code-completion.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,6 @@ In this section, you'll use GitHub Copilot's code completion to implement API en
25
25

26
26
27
27
1.[] We now can implement the following endpoints using GitHub Copilot:
28
-
- GET product by ID
29
28
- POST to create a new product
30
29
- PUT to update a product
31
30
- DELETE to remove a product
@@ -160,8 +159,7 @@ In this section, you'll use GitHub Copilot's code completion to implement API en
160
159
}
161
160
```
162
161
163
-
> [!IMPORTANT]
164
-
>Because LLMs are probabilistic, not deterministic, the exact code generated can vary. The above is a representative example. If your code is different, that's just fine as long as it works!
162
+
> NOTE: Because LLMs are probabilistic, not deterministic, the exact code generated can vary. The above is a representative example. If your code is different, that's just fine as long as it works!
165
163
166
164
1.[] Go back to **ProductEndpoints.cs**, and try changing the variable name of **id** to `productId` in the new **MapGet** method and see Next Edit Suggestions help out.
Copy file name to clipboardExpand all lines: lab/part2-enhancing-ui.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,13 @@
2
2
3
3
Now, you'll improve the loading experience using Copilot's inline chat.
4
4
5
-
> [!NOTE]
6
-
> This exercise does supply specific prompts to type, but as part of the learning experience we encourage you to discover how to interact with Copilot. Feel free to talk in natural language, describing what you're looking for or need to accomplish.
5
+
> NOTE: This exercise does supply specific prompts to type, but as part of the learning experience we encourage you to discover how to interact with Copilot. Feel free to talk in natural language, describing what you're looking for or need to accomplish.
7
6
8
7
1.[] In the **Solution explorer** under the **Store** project open **Components/Pages/Products.razor**.
9
8
1.[] Find the "Loading..." text in the code.
10
9
1.[] Select this text and right-click.
11
10
1.[] Choose "Ask Copilot" or press `Alt+/`.
12
-
1.[] In the inline chat, type: "Update this to have a loading progress spinner and the text: Loading... under it"
11
+
1.[] In the inline chat, type: `Update this to have a loading progress spinner`
13
12
14
13

Copy file name to clipboardExpand all lines: lab/part5-implementing-features.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,13 +20,11 @@ Let's add the ability to see a list of images into the app:
20
20
21
21

22
22
23
-
1.[] Type: `Implement a product listing page in Products.razor that fetches products from #ProductService and displays them in a list with product name, description, price, and image.`
23
+
1.[] Type: `Implement a simple product listing page in Products.razor that fetches products from #ProductService and displays them in a simple list with product name, description, price, and image.`
24
24
25
-
> [!NOTE]
26
-
> You should use your own phrasing when generating the prompt. As highlighted previously, part of the exercise is to become comfortable creating prompts for GitHub Copilot. One key tip is it's always good to provide more guidance to ensure you get the code you are looking for.
25
+
> NOTE: You should use your own phrasing when generating the prompt. As highlighted previously, part of the exercise is to become comfortable creating prompts for GitHub Copilot. One key tip is it's always good to provide more guidance to ensure you get the code you are looking for.
27
26
28
-
> [!NOTE]
29
-
> If you are asked to **Enable Claude 3.5 Sonnet for all clients** click on **Enable** button.
27
+
> NOTE: If you are asked to **Enable Claude 3.5 Sonnet for all clients** click on **Enable** button.
30
28
31
29
Copilot agent mode begins implementing the code suggestions!
32
30
@@ -36,7 +34,7 @@ Unlike our prior examples where we worked with an individual file, we're now wor
36
34
37
35
GitHub Copilot will propose the following changes to the application including updating the Products.razor and adding a Products.razor.css and maybe more.
38
36
39
-
1.[] Review the suggestions and click "Accept All" to implement the code.
Copy file name to clipboardExpand all lines: lab/part6-copilot-vision.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
In this section, you'll use Copilot Vision. You can share screenshots of errors and Copilot will interpret the image and resolve the issue. Or share mockups of new designs, and Vision will help you bring them to life. Let's update our design based on a photo our design gave us.
4
4
5
5
1.[] Open a new Copilot Chat thread in Agent mode.
6
-
1.[] Click the **+** button in the chat, select **upload image**, and select the store application image that is found in the GitHub repo that is cloned called **eshop.png** inside of the **C:\Users\LabUser\Source\Repos\build-2025-lab300** directory.
6
+
1.[] Click the **+** button in the chat, select **upload image**, and select the store application image that is found in the GitHub repo that is cloned called **eshop.png** inside of the `C:\Users\LabUser\Source\Repos\build-2025-lab300` directory.
Copy file name to clipboardExpand all lines: lab/part8-commit-summary-descriptions.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,14 @@ In this section, you'll learn how to use GitHub Copilot to generate commit messa
8
8

9
9
10
10
1.[] Navigate to **Tools -> Options -> GitHub -> Copilot -> Source Control Integration**.
11
-
1.[] Update the commit message customization setting to:
12
-
*"Summarize in a few sentences and then highlight the top 5 changes with emoji and short descriptions."*
11
+
1.[] Update the commit message customization setting to: `Summarize in a few sentences and then highlight the top 5 changes with emoji and short descriptions`
13
12
1.[] Return to the **Git Changes** view and generate a new commit message.
14
13
1.[] Observe how the new commit message reflects the updated customization.
15
14
16
15
**Key Takeaway**: Copilot can help you create meaningful and well-structured commit messages, saving time and improving collaboration.
17
16
18
17
## Code Reviews with Copilot
19
18
20
-
1.[] Navigate to **Tools -> Options -> GitHub -> Copilot -> Source Control Integration**.
21
-
1.[] Ensure the **Code Review Assistance** feature is turned on.
22
19
1.[] Before submitting your changes, use the **Code Review** feature to analyze your code for potential improvements and suggestions.
0 commit comments