Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
I want to access web application using windows application using WCF.Is it possible?
If yes, please let me know..
Thanks in advance
Posted

If you want to access a web application using winform. Check and mine information about these classes:
HttpWebRequest
HttpWebResponse

These two classes will make it very easy for making http requests to the server and receiving responses from the server.

There is no need of using WCF in between uselessly but if you insist in doing so, you can surely do that. You just have to write the logic in WCF service which you could have written in your winform/windows application to achieve the same results.

I hope I was able to solve your problem.

Watch my first article posted on codeproject and comment and vote:
http://www.codeproject.com/KB/HTML/speechinputapi.aspx
or http://blog.robinrizvi.info

Drop me a mail for any comments, suggestions or questions.
mail@robinrizvi.info
 
Share this answer
 
Comments
sunil0518 8-Sep-11 23:39pm    
Can u give more information about this with coding......
how to use those HttpWebRequest and HttpWebResponse
Robin Rizvi 9-Sep-11 12:50pm    
http://www.codeproject.com/KB/webservices/HttpWebRequest_Response.aspx

http://www.codeproject.com/KB/IP/httpwebrequest_response.aspx

Check MSDn for complete details and sample:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx
http://msdn.microsoft.com/en-us/library/system.net.httpwebresponse.aspx
hai sunil how r u?
me also having same problem. if u got that answer plz inform to me
 
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