Skip to content

Conversation

@scubaninja
Copy link
Collaborator

C Sharp Module ready for final review:

  • includes 4 sections
  • Updates screenshots and GIFs
  • Written per the outline provided

…g detailed instructions on code completion and slash commands.
…Agent Mode, including coding tasks, context addition, and project improvements.
… Mode, including new API endpoint generation instructions and customization context.
- Introduced a new settings.json file for cSpell configuration.
- Revised section titles and content in README.md to enhance clarity.
- Added images for better visual guidance in the README.
… clarity on running and debugging the backend project
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR contains the final review of a C# module for GitHub Copilot, restructuring the content into 4 comprehensive sections with updated screenshots and GIFs. The module teaches developers how to effectively use GitHub Copilot with C# through hands-on exercises covering code completion, agent mode, and customization features.

Key changes include:

  • Complete reorganization from step-based to section-based learning structure
  • Addition of new features like Agent Mode and custom instructions
  • Updated visual assets (screenshots and GIFs) to reflect current UI

Reviewed Changes

Copilot reviewed 3 out of 31 changed files in this pull request and generated 3 comments.

File Description
Using-GitHub-Copilot-with-CSharp/README.md Complete rewrite of the module content with 4 new sections, updated exercises, and modern GitHub Copilot features
Using-GitHub-Copilot-with-CSharp/011SlashCommandExplain.gif Removed outdated GIF file
.vscode/settings.json Added spell check configuration for "Blazor"
Comments suppressed due to low confidence (1)

Using-GitHub-Copilot-with-CSharp/README.md:262

  • The code comment appears to contain a spelling error: 'paremeter' should be 'parameter'.
By supplying Copilot with detailed project context, instructions files significantly improve the relevance and accuracy of its code suggestions. For example, if your project uses Blazor and ASP.NET Core, Copilot can generate components that follow your preferred structure, use modern C# features, and adhere to your naming conventions. This leads to more consistent code and reduces the need for manual corrections or lengthy code reviews.

<img src="./images/003RunBackEndProject.jpg" alt="Run and Debug in the Panel">
</div>

2. The BackEnd project for our Weather API will now be running in port 8080. If you used Copilot to Run and Debug, it will output the URL for you in the chat pane. Simply click the text and it will open a new tab with the published URL. Ensure that `/weatherforcast` is in the published URL.
Copy link

Copilot AI Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'weatherforcast' is misspelled. It should be 'weatherforecast' to match the correct endpoint name used elsewhere in the documentation.

Suggested change
2. The BackEnd project for our Weather API will now be running in port 8080. If you used Copilot to Run and Debug, it will output the URL for you in the chat pane. Simply click the text and it will open a new tab with the published URL. Ensure that `/weatherforcast` is in the published URL.
2. The BackEnd project for our Weather API will now be running in port 8080. If you used Copilot to Run and Debug, it will output the URL for you in the chat pane. Simply click the text and it will open a new tab with the published URL. Ensure that `/weatherforecast` is in the published URL.

Copilot uses AI. Check for mistakes.
2. The BackEnd project for our Weather API will now be running in port 8080. If you used Copilot to Run and Debug, it will output the URL for you in the chat pane. Simply click the text and it will open a new tab with the published URL. Ensure that `/weatherforcast` is in the published URL.

<div align="left">
<img src="./images/004rundebugURL.jpg" alt="Run and Debug Output"
Copy link

Copilot AI Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image tag is missing the closing > and width/height attributes for consistency with other images in the document.

Suggested change
<img src="./images/004rundebugURL.jpg" alt="Run and Debug Output"
<img src="./images/004rundebugURL.jpg" alt="Run and Debug Output" width="500" height="300">

Copilot uses AI. Check for mistakes.

Add a breakpoint in line 24 (press F9) and refresh the browser with the Url to test the endpoint. The browser should not show the weather forecast, and in the Visual Studio Editor we can see how the program execution was paused at line 24.
```csharp
// create a new internal record named WeatherForecastByCity that request the following parameters: City, Date, TemperatureC, Summary
Copy link

Copilot AI Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'request' should be 'requests' to maintain proper grammar in the comment.

Suggested change
// create a new internal record named WeatherForecastByCity that request the following parameters: City, Date, TemperatureC, Summary
// create a new internal record named WeatherForecastByCity that requests the following parameters: City, Date, TemperatureC, Summary

Copilot uses AI. Check for mistakes.
@WirelessLife WirelessLife merged commit 8e7100f into main Jul 25, 2025
3 checks passed
@WirelessLife WirelessLife deleted the csharpmodule branch July 25, 2025 11:42
@scubaninja scubaninja mentioned this pull request Jul 25, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants