I need to write a WCF method for downloading large file from server like around 150mb.
Can anyone suggest the best method to use? any code samples?
I need to write a WCF method for downloading large file from server like
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to stream the data.
The contract would look like this:
The configuration would be:
You then need to implement the contract with code that reads the file and returns the contents as a stream.