Is there a way to enable both session and streaming in netTcpBinding?

Posted by DxCK on Stack Overflow See other posts from Stack Overflow or by DxCK
Published on 2010-01-15T23:32:59Z Indexed on 2010/03/29 19:33 UTC
Read the original article Hit count: 179

Filed under:
|
|
|
|

Hi

I writing a WCF Service that need transfer large files, so i using streaming, but from the other hand i need to do username specific initializations.

The problem is that getting the username and perform initialization every time is very expensive. If i could turn on session, i could just save initialized data in local variables in the service instance.

Is there a way to turn on both streaming and session in netTcpBinding?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#