Register Classes for Compact Serialization
Each custom class must be serialized before adding any of its objects into the cache. NCache Compact Serialization is used to dynamically serialize classes (generic or non-generic) while running.
These classes can be
- Generic
- Non-Generic
Note
If you want to mark a class for compact serialization that requires a parameterized constructor, ensure that the class contains a default constructor.
In This Section
Register Non-Generic Classes
Explains how to register non-generic classes for Compact Serialization.
Unregister Non-Generic Classes
Explains how to unregister non-generic classes for Compact Serialization.
Register Generic Classes
Explains how to register generic classes for Compact Serialization.
Register Generic Classes using Generic Type Handler
Explains how to register generic classes for Compact Serialization using a generic type handler.