Relative Content

Tag Archive for soap

What is the best and most optimized way to return a filestream from a .NET WCF SOAP service?

To give some background, i have a WCF SOAP service in .NET that needs to return pdf files. This service will be used by multiple application, many times in a day. The size of the files returned varies from 10KB to 10MB. Also, there is no shared location where the file can be kept and the path can be returned. It can be done using byte[], but that will increase the load on service, which I want to avoid. Any suggestions are welcome.

What is the best and most optimized way to return a filestream from a .NET WCF SOAP service?

To give some background, i have a WCF SOAP service in .NET that needs to return pdf files. This service will be used by multiple application, many times in a day. The size of the files returned varies from 10KB to 10MB. Also, there is no shared location where the file can be kept and the path can be returned. It can be done using byte[], but that will increase the load on service, which I want to avoid. Any suggestions are welcome.