1
Answer

How to upload image from android to WCF Service

Photo of S Sreelakshmi

S Sreelakshmi

9y
2.7k
1
How to upload image from android to WCF Service.. Please Help me..

Answers (1)

1
Photo of Afzaal Ahmad Zeeshan
31 39.2k 5.9m 9y
Android doesn't support .NET framework so you cannot do this native. You would have to create or make use of another third framework to connect them. ASP.NET is a very useful candidate for this. 
 
You can create a simple website in ASP.NET, no matter which framework (MVC or Web API) and use it as the client for your Web Service. Then, upload the image from that website (probably using a browser) and it would be uploaded to your hub (of your WCF application).
 
I also haev an article covering this topic, please give it a quick read. http://www.c-sharpcorner.com/UploadFile/201fc1/creating-a-wcf-web-service-to-be-consumed-by-Asp-Net-applica/