dotnet / dotnet/dotnet-api-docs

GetResponse method not found!

Open
#1,281 0 comments 0 reactions 0 assignees View on GitHub
area-System.Net dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

There is an error in the example. In Asp.net Core there is only GetResponseAsync, wich does not have GetResponseStream() method.

Check this link for more information (and for a possible solution):
https://forums.asp.net/t/2118722.aspx?Problems+using+WebResponse+and+WebRequest+in+asp+net+core

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 0e85a092-3365-14df-19d5-9d1cc3d4dfe0
* Version Independent ID: dad847ce-299a-8dbd-7175-ce1b6e25e846
* Content: [WebRequest Class (System.Net)](https://docs.microsoft.com/en-us/dotnet/api/system.net.webrequest?view=netcore-1.1)
* Content Source: [xml/System.Net/WebRequest.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Net/WebRequest.xml)
* Product: **dotnet-api**
* GitHub Login: @karelz
* Microsoft Alias: **ncldev**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.