httpwebrequest
Problems Sending CDATA to PHP With HttpRequest in C#
I\'m trying to upload values from a C# application to a PHP script via POST, but the php script seems to be ignoring escaped entities.[详细]
2023-04-01 21:39 分类:问答C# Sending an HttpWebRequest without the servername
Basically what I\'ve been trying to do is download a file off a server. The server sends a redirect automatically which is fine, but through packet sniffing a program that does successfully download t[详细]
2023-04-01 21:03 分类:问答How to 'share' NTLM authentication across multiple HttpWebRequests?
My C# app hits a web server that uses NTLM authentication. I find that each request made to the server (using a new HttpWebRequest) is individually authenticated. In other words, every request result[详细]
2023-04-01 17:56 分类:问答Returning an object from a service call in Silverlight
I need to implement a method in a Silverlight library, which calls a (non-wcf-)service via httpwebrequest, gets the response, then populates an object and returns it.[详细]
2023-04-01 12:28 分类:问答How to get error information when HttpWebRequest.GetResponse() fails
I am initiating an HttpWebRequest and then retrieving it\'s response.Occasionally, I get a 500 (or at least 5##) error, but no description.I have control over both endpoints and would like the receivi[详细]
2023-04-01 12:13 分类:问答ASP.net: singleton class, instantiate just once per request?
I have a class called UserContext that tracks the activities of a given user on my website.It should be a singleton class (just one instance per user). In a Windows Forms application, I\'d could write[详细]
2023-04-01 11:50 分类:问答Configure Apache HTTP 2.2 for PUT method
I\'ve written code for file upload and download using the HttpWebRequest and HttpWebResponse classes in C# with the Apache HTTP server v2.2. In code, I am using \'request.method = \"PUT\"\', so I want[详细]
2023-03-31 15:58 分类:问答.NET HttpWebRequest timeout apparently ignored on some computers
We use an HttpWebRequest object to exchange data between the server and client parts of our application. When the server\'s IP can\'t be reached or is invalid (which is something that happens, and sho[详细]
2023-03-31 13:54 分类:问答C# 405 methods not allowed
I am posting data to a website and displaying the resulting json data, This is the function I ended up with after taking some pieces from msdn\'s example[详细]
2023-03-30 18:58 分类:问答HttpWebRequest, WebBrowser, and cookies? (visual basic 2010)
I\'m writing a program for my sister for a game which she plays online. It uses a WebBrowser control, and HttpWebRequest as well.[详细]
2023-03-30 16:58 分类:问答