Fluent Interface for WebRequest class

added by thangchung
5/17/2011 5:39:36 PM

119 Views

In past, I usually used WebRequest for request some data from remote host. I also used it for request JSON data from Google APIs, some RSS, ATOM data from a few hosts. Everything is good for me. I only put some codes like this: var buffer = Encoding.ASCII.GetBytes("q=Queen Elizabeth II&video=on&audio=on&text=on");             var webReq = (HttpWebRequest)WebRequest.Create("http://www.bbc.co.uk/search/news/");     ...


0 comments