system.net.httpwebrequest Questions

2

Solved

Our console applications are making hundreds of WebRequests to Facebook every minute (with using multiple apps and hundreds of access tokens). Now, they started to fail with the exception message i...

3

Solved

I've downloaded the latest .NET Framework and I'm working on .NET Core 2.0 Application on VS 2017 15.8.7. Here are the packages I've installed. using (var client = new PowerBIClient(new Uri(ApiU...

2

Solved

We are upgrading our application from .net framework to .net core 2.0. In it, we use a HttpWebRequest to contact a site with AllowAutoRedirect set to false. When the code executed request.GetRespo...

3

I have a scenario where I need to call my Web API Delete method constructed like the following: // DELETE: api/products/{id}/headers [HttpDelete("{id}/headers")] public void DeleteProductHeaders(i...
Herriott asked 16/8, 2016 at 13:27

1

Solved

I was using the WebRequestHandler for setting the CachePolicy and AuthenticationLevel in my full stack .NET application. Now I am migrating my application to .NET core and can't find an alternative...
Selftaught asked 7/4, 2017 at 7:46

1

Solved

I tried to mke a request with GET and parameters. However, I got an exception for the WinPhone8.1 which meaned that GET was a violation protocol due to a content added in. So making a POST request ...

1

Background: I have set up a Service Account for my project on Google Developer Console and using the Service Account Email, the Certificate and the secret password and following the example provide...
Wetnurse asked 31/1, 2014 at 15:24

1

Solved

I am writing a Web API project (MVC architecture). I have a utility class with methods that returns an HttpResponseMessage. If this class is placed in a Utility folder everything works. If I attemp...

1

When I install the NuGet package for WebApi, it gives me version 1.0.0.0 of System.Net.Http, yet it references version 2. I cannot seem to find version 2 for the life of me. When I download .net 4...

1

I have been doing some research on this and I couldn't find a straight answer. Are there some cookies stored in the container that I can't get to using the Response.Cookies collection? How are coo...
Ghislainegholston asked 25/9, 2012 at 22:32

2

Solved

I found that when I use HttpWebRequest to establish SSL\TLS connection, it takes near 30s when calling request.GetRequestStream() when I've enabled tracing with stacktrace enabled, I found that...
Russel asked 23/5, 2012 at 16:17
1

© 2022 - 2024 — McMap. All rights reserved.