In my WCF Service I will receive an image attachment from a mobile App. I dont know how to write the code. I appreciate if you can forward some examples and code. I am new to WCF.
[OperationContract]
[WebInvoke(UriTemplate = "/SaveAttachment",
Method = "POST",
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json)]
ReturnSaveAttacmentStatus SaveAttachment(DomainName,TimeSheetID, ImageFIle);
you can take a look at here on the git hub which I have written an application that how to upload images from android phone to wcf service with the sample application