Shared Cache is high performance distributed and replication cache system built for .Net applications running in server farms.
Shared Cache data and date time formatters

Classes

  ClassDescription
Compression
Makes usage of ICSharpCode.SharepZipLib which is origanlly written by Mike Krueger. Expose functionlity to compress array's of Byte and uncompress them. There is also a funktionlity available to validate if the header of the stream indicates it as compressed or not. In case its not compressed the client should not call the Decompress() Method.
DateTimeUnix
To minimize Protocol size the usage of Unix time is needed instead of DateTime which is serialized with the BinarySerializer. representing the number of seconds since Midnight UTC 1 Jan 1970 on the Gregorian Calendar
Serialization
Serialization contains a set of Utils for various serilization by usage of Generics more information available at: http://www.codeproject.com/soap/Coreweb03.asp

Remarks

with soap usage you need to add a reference to System.Runtime.Serialization.Formatter.Soap assembly
StreamManipulator
This class allows us to retrieve a specified number of bits from the input buffer, as well as copy big byte blocks. It uses an int buffer to store up to 31 bits for direct manipulation. This guarantees that we can get at least 16 bits, but we only need at most 15, so this is all safe. There are some optimizations in this class, for example, you must never peek more than 8 bits more than needed, and you must first peek bits before you may drop them. This is not a general purpose class but optimized for the behaviour of the Inflater. authors of the original java version : John Leuner, Jochen Hoenicke

Remarks

has been copied from: http://www.krugle.org/examples/p-zUID3qJxRebp1MBw/StreamManipulator.cs and http://www.icsharpcode.net/CodeReader/SharpZipLib/031/ZipCompressionStreamsStreamManipulator.cs.html Copyright (C) 2001 Mike Krueger