.NET Framework Bookmark and Share   
 index > .NET Framework Networking and Communication > Silverlight 3 & WCF - Data Compression
 

Silverlight 3 & WCF - Data Compression

We have hosted our WCF service in a stand-alone mode and not using IIS and this service is then accessed by silver light 3 client. Now the service exposes certain operation that transfer huge amount of data and best way to reduce the data latency is to compress them. However, i m not able to find a straight forward solution in SL3 and WCF world.

I did read lot of post that suggest turning on GZip compression on IIS that gives out-of-box compression feature, however in this case our service is hosted in a stand-alone mode, so the best way is to write our own WCF custom encoder. Does anyone know out-of-box solution, so i don't need to re-invent the wheel.


Yogesh S
You can use SharpZipLib dll to compress data in wcf service, and decompress data in silvelight client. It is an open source dll for compress/decompress

Linkto download SharpZipLib dll - http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx
Gaurav Khanna
Khanna Gaurav

You can use google to search for other answers

Custom Search

More Threads

• Why this code doesnt work (simple proxy)
• How Can I Login owa use My Login web page
• Non blocking socket Send
• SSH , SFTP , SSL and FTP
• unable to download file
• Http Get with Credentials..
• Error Net.Mail.Message random and intermittent error
• Return of the wireless network printers
• Send fax from XP machine to SBS2003 fax server
• Streaming data from https-site