Skip to content

Commit 3aa02df

Browse files
authored
acrolinx (#22235)
1 parent 32ef5b2 commit 3aa02df

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/csharp/tutorials/console-webapiclient.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: Create a REST client using .NET Core
3-
description: This tutorial teaches you a number of features in .NET Core and the C# language.
3+
description: This tutorial teaches you about some features in .NET Core and the C# language.
44
ms.date: 01/09/2020
55
ms.assetid: 51033ce2-7a53-4cdd-966d-9da15c8204d2
66
---
77

88
# REST client
99

10-
This tutorial teaches you a number of features in .NET Core and the C# language. Youll learn:
10+
This tutorial teaches you a number of features in .NET Core and the C# language. You'll learn:
1111

1212
* The basics of the .NET Core CLI.
1313
* An overview of C# Language features.
@@ -16,22 +16,22 @@ This tutorial teaches you a number of features in .NET Core and the C# language.
1616
* Processing JSON information
1717
* Managing configuration with Attributes.
1818

19-
Youll build an application that issues HTTP Requests to a REST
19+
You'll build an application that issues HTTP Requests to a REST
2020
service on GitHub. You'll read information in JSON format, and convert
2121
that JSON packet into C# objects. Finally, you'll see how to work with
2222
C# objects.
2323

24-
There are many features in this tutorial. Lets build them one by one.
24+
There are many features in this tutorial. Let's build them one by one.
2525

26-
If you prefer to follow along with the [final sample](https://github.com/dotnet/samples/tree/master/csharp/getting-started/console-webapiclient) for this topic, you can download it. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#view-and-download-samples).
26+
If you prefer to follow along with the [final sample](https://github.com/dotnet/samples/tree/master/csharp/getting-started/console-webapiclient) for this article, you can download it. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#view-and-download-samples).
2727

2828
## Prerequisites
2929

30-
Youll need to set up your machine to run .NET core. You can find the
30+
You'll need to set up your machine to run .NET core. You can find the
3131
installation instructions on the [.NET Core Downloads](https://dotnet.microsoft.com/download)
3232
page. You can run this
33-
application on Windows, Linux, macOS or in a Docker container.
34-
Youll need to install your favorite code editor. The descriptions below
33+
application on Windows, Linux, or macOS, or in a Docker container.
34+
You'll need to install your favorite code editor. The descriptions below
3535
use [Visual Studio Code](https://code.visualstudio.com/), which is an open
3636
source, cross platform editor. However, you can use whatever tools you are
3737
comfortable with.
@@ -161,7 +161,7 @@ using System.Net.Http.Headers;
161161
```
162162

163163
This first version makes a web request to read the list of all repositories under the dotnet
164-
foundation organization. (The gitHub ID for the .NET Foundation is 'dotnet'). The first few lines set up
164+
foundation organization. (The GitHub ID for the .NET Foundation is `dotnet`.) The first few lines set up
165165
the <xref:System.Net.Http.HttpClient> for this request. First, it is configured to accept the GitHub JSON responses.
166166
This format is simply JSON. The next line adds a User Agent header to all requests from this
167167
object. These two headers are checked by the GitHub server code, and are necessary to retrieve
@@ -244,7 +244,7 @@ foreach (var repo in repositories)
244244
Console.WriteLine(repo.name);
245245
```
246246

247-
Compile and run the application. It will print out the names of the repositories that are part of the
247+
Compile and run the application. It will print the names of the repositories that are part of the
248248
.NET Foundation.
249249

250250
## Controlling Serialization

0 commit comments

Comments
 (0)