Click here to Skip to main content
15,879,613 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi to all
how to consume a json service without using stream reader?
if anybody knows, please let me know.
Posted
Updated 26-Jul-11 23:37pm
v2
Comments
BobJanova 27-Jul-11 6:43am    
This seems like one you can google for.

1 solution

When making a request via HttpWebRequest for instance you always get a HttpWebResponse and the only way to get at what the server answered back is to read it from the response stream. If you can't be bothered handling reading from a stream you'll need somebody to write a library wrapper to shield you from such ghastly low level programming. Reading from a stream will still take place, but at least you won't have to see it in your code.

Best regards,

—MRB
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900