I wrote a small test WCF REST service using C#, within the WCF service, if it receive POST info from client, the WCF will collect the HTTP Request message from client and write it to a text file. I am using Stream to collect HTTP request and using StreamWriter to write it to a text file. I can specify any folder/path for the text file.
At this point, everything is working when I host the WCF REST service using a local console app.
However, I want to host the WCF service by using Windows service, the Windows service self is fine, it can be started/stoped no issue, my issue is, when client send HTTP POST request, the WCF suppose to create the text file but I can't see the text file. I tried to search the file on the PC, I could not find it, the text file actually never generated (in my view, Windows Service is not responsible to write the file, it is still WCF responsibility)
btw, the HTTP GET works from client (means the WCF Windows service works at least for GET).
any hints are much appreciated
I have a requirement to upload a audio file from java application through c# wcf restfull web service.
So how to create a rest web service to upload a file.
I have a task to Upload and Download a word file from the microsoft ONEdrive using WCF service. I there is a possiblity to do that. Can doing the authentication through WCF service is easy without the interaction with user. Everything should be done in the background.
Regards,
Rajesh
I have a wcf service hosted in sharepoint that retunrs a list of objects. Its a not a wcf data service, just a 'regular' wcf data service.
Can data js read dta from a 'regular' wcf data service?
In short - no. datajs can only consume OData formatted payloads.
i have a doubt is there any possibilities to upload a image into the web server using silverlight 4.0 and without using wcf Service....
my Question is I want to upload a image into the webserver using silverlight not using WCF....
try this:
http://silverlightfileupld.codeplex.com/
Differences from other upload controls
Fast! Does not use webservices to
upload the file