Hi,
is there a way to write ( a string for example ) directly to the output stream, when implementing a regular WCF interface like this:
[ServiceContract]
public interface ISearchInterface
{
[OperationContract]
[FaultContract(typeof(Exception))]
SearchResponse SearchXML(SearchRequest req);
}
I want to save de/serialization time and send the serialzed string directly( it HAS to be the same method, though, because when i haven't got the serialized cachestring, i want to normally "build" the serialized object by some SQL statements... )
Any ideas? Something like
Channel.Write(s);
??