-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Description
Type of issue
Outdated article
Description
In the "Tutorial" entry of the documentation, the approach shown for accessing the HTTP interface from a C# client is not the recommended way to work with JSON data.
The recommended approach is to use using System.Net.Http.Json;
and leverage the extension methods provided by that namespace to call the interface.
Page URL
https://learn.microsoft.com/zh-cn/dotnet/csharp/tutorials/console-webapiclient
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/tutorials/console-webapiclient.md
Document Version Independent Id
5415878b-e60b-5433-7b4b-efc8259908f0
Platform Id
1818f1ab-6db8-c7f8-1cb5-796181029761
Article author
Metadata
- ID: 3bfcc1a8-ddda-810c-17b0-56a506045d67
- PlatformId: 1818f1ab-6db8-c7f8-1cb5-796181029761
- Service: dotnet-csharp
- Sub-service: fundamentals