Skip to content

Commit 523b75c

Browse files
authored
Added Include note about class being obsolete (#10015)
1 parent e138efb commit 523b75c

File tree

5 files changed

+673
-34
lines changed

5 files changed

+673
-34
lines changed

includes/web-request-obsolete.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> [!CAUTION]
2+
> `WebRequest`, `HttpWebRequest`, `ServicePoint`, and `WebClient` are obsolete, and you shouldn't use them for new development. Use <xref:System.Net.Http.HttpClient> instead.

0 commit comments

Comments
 (0)