Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (8 sloc) 0.534 kb

Alternative Compression implementations for ServiceStack

Earlier versions of .NET (i.e. 2.0) had a very poor implementation of GZip/DeflateStream which was much slower and took longer than the equivalent compression routines provided by SharpZipLib excellent implementation.

Usage

To configure ServiceStack to use the deserialization libs in this project add this to your AppHost:

StreamExtensions.DeflateProvider = new ICSharpDeflateProvider();
StreamExtensions.GZipProvider = new ICSharpGZipProvider();
Jump to Line
Something went wrong with that request. Please try again.