WCF/WF - transfer the zipfile service to client

Asked By brahma naidu on 28-Feb-12 11:56 PM
hai how to transfer a  zipfile from wcf service to client.will u plz explain with example
D Company replied to brahma naidu on 29-Feb-12 02:27 AM
U can send it using file streming class. than get a proxy for the wcf service

ChannelFactory<IWCFPerfTest> factoryname = new ChannelFactory<IWCFPerfTest>("endpoint");
than call create channel method.

see this sample

also a good article about large data sending and streaming

A complete example with sample code given  in MSDN

Hope its clear