• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Register Classes for Compact Serialization

Each custom class must be serialized before adding any of its objects into cache. NCache compact serialization is used to dynamically serialize classes (generic or non-generic) on the fly.

These classes can be

  • Generic
  • Non-Generic
Note

If you want to mark a class for compact serialization that requires parameterized constructor, make sure 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 generic type handler.

Back to top Copyright © 2017 Alachisoft