Skip to content

Commit eda5116

Browse files
committed
Updating section 1 - completed
1 parent 4e90889 commit eda5116

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,15 @@ To get started:
7676
<img src="./images/002explainoutput.gif" alt="Output of /Explain" width="500" height="300">
7777
</div>
7878

79-
4. As a visual learner, you can ask GitHub Copilot to create a diagram of the workflow of the application. This could be saved into a README for further documentation.
79+
4. As a visual learner, you can ask GitHub Copilot to 'create a diagram of the workflow of the application'. This could be saved into a README for further documentation.
8080

81-
TODO: Add gif/jpg of flow
81+
<div align="left">
82+
<img src="./images/movingdiagram.gif" alt="Output of application diagram" width="500" height="300">
83+
</div>
84+
85+
In the above exercises we achieved the following:
86+
- ✅ Used slash commands to explain new code
87+
- ✅ Created a diagram to visualize and understand the application flow
8288

8389
### 🗒️ Section 2: Code Completion
8490

@@ -106,7 +112,7 @@ https://< your url>.app.github.dev/weatherforecast
106112
<img src="./images/005ports.jpg" alt="port view in the editor" width="500" height="300">
107113
</div>
108114

109-
3. In order to generate a new record that includes the name of the city, navigates to the following path `SampleApp\BackEnd\Program.cs` and open `Program.cs`. Navigate to the end of the file and type in (or copy):
115+
3. In this next step we want to refactor some code and generate a new record for our Weather API. The goal is to add a new record that includes the name of the city. From the file pane, navigate to the following path `SampleApp\BackEnd\Program.cs` and open `Program.cs`. Navigate to the end of the file and type in (or copy):
110116

111117
```csharp
112118
// create a new internal record named WeatherForecastByCity that request the following parameters: City, Date, TemperatureC, Summary
@@ -136,7 +142,7 @@ TODO: More explanation
136142

137143
In the above exercises we achieved the following:
138144
- ✅ Generated suggestions from code comments
139-
- ✅ Used inline chat and slash to generate new code, query code and accept coding suggestions
145+
- ✅ Used inline chat to generate new code, query code and accept coding suggestions
140146
- ✅ Trigger and refine Copilot suggestions
141147

142148

5.66 MB
Loading

0 commit comments

Comments
 (0)