Click here to Skip to main content
15,888,224 members
Articles / Programming Languages / C#

FETCH! Retrieve data from a remote web server with one line of code (with MVC reCAPTCHA example)

Rate me:
Please Sign up or sign in to vote.
4.92/5 (36 votes)
20 Aug 2015CPOL3 min read 50.2K   71  
Often an application needs data from an HTTP server, such as web services, or to scrape content. .NET provides HttpWebRequest, but it requires a lot of code to perform trivial operations. This class simplifies the task dramatically by abstracting the HTTP protocol, streams, and exceptions.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer Robotic Assistance Devices / AITX
Canada Canada
Yvan Rodrigues has 30 years of experience in information systems and software development for the industry. He is Senior Concept Designer at Robotic Assistance Devices

He is a Certified Technician (C.Tech.), a professional designation granted by the Institute of Engineering Technology of Ontario (IETO).

Yvan draws on experience as owner of Red Cell Innovation Inc., Mabel's Labels Inc. as Manager of Systems and Development, the University of Waterloo as Information Systems Manager, and OTTO Motors as Senior Systems Engineer and Senior Concept Designer.

Yvan is currently focused on design of embedded systems.

Comments and Discussions