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: Using-GitHub-Copilot-with-CSharp/README.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,9 +76,15 @@ To get started:
76
76
<imgsrc="./images/002explainoutput.gif"alt="Output of /Explain"width="500"height="300">
77
77
</div>
78
78
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.
80
80
81
-
TODO: Add gif/jpg of flow
81
+
<divalign="left">
82
+
<imgsrc="./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
82
88
83
89
### 🗒️ Section 2: Code Completion
84
90
@@ -106,7 +112,7 @@ https://< your url>.app.github.dev/weatherforecast
106
112
<imgsrc="./images/005ports.jpg"alt="port view in the editor"width="500"height="300">
107
113
</div>
108
114
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):
110
116
111
117
```csharp
112
118
// create a new internal record named WeatherForecastByCity that request the following parameters: City, Date, TemperatureC, Summary
0 commit comments