all groups > asp.net webservices > january 2004 >
You're in the

asp.net webservices

group:

filestream binary


filestream binary Shazbot
1/30/2004 7:06:08 AM
asp.net webservices: I am attempting to create a webservice that pushes back a binary file by request type..

Re: filestream binary Jan Tielens
1/30/2004 8:13:06 PM
Use a Byte array as a return value.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Shazbot" <anonymous@discussions.microsoft.com> schreef in bericht
news:C8A751F4-6652-4130-86C2-C753747CBEF0@microsoft.com...
[quoted text, click to view]

Re: filestream binary Egbert Nierop (MVP for IIS)
1/31/2004 8:47:08 PM
[quoted text, click to view]


Response.ContentType must be set dynamically

And REsponse.BinaryWrite(...) must be used to stream your content.
Or Response.WriteFile() can be used as well..
Or use Response.OutputStream (does not cause your binary to be on written
disk)...


--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm
Re: filestream binary Jan Tielens
2/1/2004 4:36:36 PM
I think this solution wouldn't wrap the file into a SOAP message...

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Egbert Nierop (MVP for IIS)" <egbert_nierop@nospam.com> schreef in bericht
news:ewtNxKD6DHA.2008@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

Re: filestream binary Egbert Nierop (MVP for IIS)
2/2/2004 3:33:00 PM
[quoted text, click to view]

I understand. I forgot that.
DIME has been developed for that.
http://msdn.microsoft.com/library/en-us/dnservice/html/service01152002.asp?frame=true
AddThis Social Bookmark Button