Skip to content

Commit 08b6ee3

Browse files
authored
Update README.md
Fixed some potential misspellings/errors.
1 parent 9e17f7a commit 08b6ee3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Diff for: 04-Using-GitHub-Copilot-with-CSharp/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -47,30 +47,30 @@ We will review the steps to update the Weather BackEnd App by adding a new endpo
4747

4848
### 🤔 Step 0: Get familiarized with the "GitHub Codespaces ♥️ .NET" repository
4949

50-
Once you open the repository in Codespaces, you will find a new browser window with a fully functional Codespace. Everything in this repository is contained within this one Codespace. In example, in the explorer panel, we can see the main code for the BackEnd and the FrontEnd project.
50+
Once you open the repository in Codespaces, you will find a new browser window with a fully functional Codespace. Everything in this repository is contained within this one Codespace. For example, in the explorer panel, we can see the main code for the BackEnd and the FrontEnd project.
5151

52-
![new Codespace with all the repository running](./images/005OpenRepoInCodeSpaces.png)
52+
![new Codespace with all the repositories running](./images/005OpenRepoInCodeSpaces.png)
5353

5454
Before we run the project, let's use GitHub Copilot Chat to inquire about what the project is and the different components.
5555

56-
1. Open **GitHub Copilot Chat** from the main navigation bar.
56+
1. Open **GitHub Copilot Chat** from the main navigation bar.
5757
1. Type in `What is this project doing, and what are the key components?` and hit **Send***
5858

5959
GitHub Copilot Chat will now look at the entire project and give us a summary of what the projects do, what technology they use, and any of the key components in them.
6060

6161
![Copilot Chat describing the project](./images/004AskCopilotAboutProject.png)
6262

63-
From here, you can click on files to navigate to them and you can ask follow up questions such as `What APIs are available?`.
63+
From here, you can click on files to navigate to them and you can ask follow-up questions such as `What APIs are available?`.
6464

6565

6666
### 🚀 Step 1: Run the projects
6767

68-
Now that we have context of what is in the project, let's run it and see it in action.
68+
Now that we have context for what is in the project, let's run it and see it in action.
6969
In order to run the BackEnd project, go to the "Run and Debug" panel, and select the "BackEnd" Project.
7070

7171
![open program.cs in the BackEnd project](./images/006RunBackEndProject.png)
7272

73-
Start Debugging the selected project. The Weather API project, our BackEnd project will now be running in port 8080. We can copy the published url from the *Ports* panel
73+
Start Debugging the selected project. The Weather API project, our BackEnd project will now be running on port 8080. We can copy the published url from the *Ports* panel
7474

7575
![Copy app url from the ports panel](./images/007ProjectRunningOpenInNewTab.png)
7676

@@ -91,7 +91,7 @@ Add a breakpoint in line 24 (press F9) and refresh the browser with the Url to t
9191

9292
![debug the running application.](./images/009DebugBackEndDemo.png)
9393

94-
Pressing F10 we can debug step-by-step until line 32, where we can see the generated values. The application should have been generated samples Weather values for the next 5 days. The variable `forecast` has an array containing these values.
94+
Pressing F10 we can debug step-by-step until line 32, where we can see the generated values. The application should have generated samples Weather values for the next 5 days. The variable `forecast` has an array containing these values.
9595

9696
![debug the running application.](./images/010DebugForecastValue.png)
9797

@@ -150,7 +150,7 @@ Navigate to the end of the file and ask Copilot to generate a new record that in
150150
// create a new internal record named WeatherForecastByCity that request the following parameters: City, Date, TemperatureC, Summary
151151
```
152152

153-
The generated code sould be similar to this one:
153+
The generated code should be similar to this one:
154154

155155
```csharp
156156
// create a new internal record named WeatherForecastByCity that request the following parameters: City, Date, TemperatureC, Summary
@@ -179,7 +179,7 @@ In the following example, we added some extra blank lines after the previous end
179179

180180
![Copilot ghost suggestion for the new endpoint](./images/020GeneratedCode.gif)
181181

182-
***Important**: This prompt generates several lines of C# code. It's strongly adviced to check and review the generated code to verify that it works in the desired way.*
182+
***Important**: This prompt generates several lines of C# code. It's strongly advised to check and review the generated code to verify that it works in the desired way.*
183183

184184
The generated code should look similar to this one:
185185

0 commit comments

Comments
 (0)