Alachisoft NCache 4.1 - Online Documentation

Using Compact Types

To use Compact Serializable types with NCache Configure Cache with NCache Manager and then register your compact serializable types with NCache.
Registering the Compact Serializable Types
Perform the following steps to register your types with the configured cache:
  • Stop the Cache if it is running.
  • Click on the 'Compact Serialization' tab which will open up the following screen.
  • Click 'Add Types' button. A 'Select Compact Classes' dialog will appear.
  • Browse for the assembly file that contains the compact types by clicking 'Browse' button as shown in the figure.
  • Select the classes you want to register with the cache from the loaded classes list.
  • Press 'Add Class' button to add the classes in selected classes list.
  • Click 'Ok'.
  • Newly added types will start appearing in the list box under the 'Compact Serialization' tab having Compact Type and Platform information.
  • 'Remove' will delete the selected type from the registered types list.

Copyright © 2005-2012 Alachisoft. All rights reserved.