I am using wsHTTPBinding with wcf session but it doesnt support streaming, if I use basicHTTP for streaming it doesnt support wcf session? Is there any solution without using MTOM?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
netTcpBinding supports both, but it doesn’t generally work well over the internet (since it’s not HTTP- firewalls are more problematic). It’s a very stable and performant choice for internal applications, though.
A question to ask though, is what you need the session for? If it’s just to correlate logical requests, there are much smaller hammers than WS-ReliableSession. Just use basicHttpBinding with a cookie, or (shudder) turn on ASP.NET compatibility mode and piggyback on those sessions.