FileStream through Webservices

M

majiofpersia

Hi Everyone and thanks in advance,

I am trying to create a webservices which will read a binary file and create
another file based on that first one and sends back the new file to the
client. The thing is that I don't want to at any time save this file on the
server ... I want to do all this in memory if possible. I have two
questions:

1) What do you think about this method? Specially if the clients are web
clients ... will this method effect the performance? Will it cause memory
problems for the web server?
2) Which namespaces should I use to achieve this? The System.IO class
FileStream doesn't seem to work with files residing in memory? To be
specific I want to work with a byte array data type ... how can I achieve
doing this?

Thanks once again for your help,

- Maji
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top