Answered by:
Compressing WCF data for silverlight... help me clarify this

Question
-
Hello,
I've looked around and tried different solution, but none seems to work.... I've got a WCF service that right now sends huge xml over Http (binary)
The xml not compressed is 9,2MB
using SL3 binaryXML I reach 2,1MB
Using a sample application (web asp.net, not SL) I tried Gzipping it and I'm around 500kb... the problem is I can't find a working solution for WCF 3.5 SP1 and SL3 ...
I've seen this and also this but they work on a previous version of WCF and compling them won't work anymore (I've got too much code to change and I'm not familiar with WCF channel structure)... I was wondering if there's a way of doing this in SL3 / WCF 3.5 ...
Either it's implemented at Endpoint level or Binding level I need the stub for SL and for WCF...
Thanks
Paolo
Friday, September 11, 2009 9:08 AM
Answers
-
I found an interesting article on this subject it comes with some code and it talks about compression
http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html
I do not think there is a perfect solution for this
I hope this helps at least a little bit.....sorry I could not help more....
Monday, September 14, 2009 8:48 AM
All replies
-
Friday, September 11, 2009 9:27 AM
-
Thanks Varshavman,
this is a commercial solution... do you know if there's something similar free? The price of that application is too much for what we need...
Have u got a sample of creating a silverlight-wcf channel implementation?
Thanks
Monday, September 14, 2009 3:14 AM -
I found an interesting article on this subject it comes with some code and it talks about compression
http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html
I do not think there is a perfect solution for this
I hope this helps at least a little bit.....sorry I could not help more....
Monday, September 14, 2009 8:48 AM -
Monday, September 14, 2009 11:04 PM