Currently with Windows Phone 7 if I access a page that returns a StatusCode of 500 or something besides 200 OK I get a message saying the NotFound.In silverlight there are a couple options for handlin
I\'m trying to intercept ev开发者_StackOverflowery aspx requests. The interception works, but the page stay blank. What am I missing ?
We have a server application that loads into the IIS worker process. When we request a url from a browser, our application can see the current httpcontext but it is null when we use a tool that sends
I have an application which sometimes must do some requests to the server to see that those requests are properly blocked. In other words, the expected server answer is 403 Forbidden.
When I try to get a nonexistent page, or use an invalid HTTP method, HttpWebRequest.GetResponse() throws a System.Net.WebException, w开发者_开发问答ith a Status property of ProtocolError. In its Messa
I need to authenticate to a server which exposes a custom NTLM-based authentication scheme, using the standard HttpWebRequest object.
I have this code which successfully makes an HTTP request: //Successful request var requestInBytes = encoding.GetBytes(urlWithParameters.ToString());
I am trying to login to the website below using HttpWebRequest. I am passing in the username and password using the Credentials property but keep getting back the Login page of the website. Can anyone
I want to get plain text using WebRequest class, just like what we get when we use webbrowser1.Document.Body.InnerText . I have tried the following code
I have a Silverlight (v3) application that uses WebRequest to make an HTTP POST request to a webpage on the same website as the Silverlight app. This HTTP request gets back a 302 (a redirect) to anoth