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

Unregister Non-Generic Classes

You can remove the serialized objects from a class. Following are the steps to remove serialized objects from a cache.

Using NCache Web Manager

  • Launch NCache Web Manager by browsing to http://localhost:8251 or <server-ip>:8251 on Windows and Linux.

  • In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache to configure.

  • Against the cache name, click on View Details.

View Details Unregister Non-generic classes web

  • This opens up the detailed configuration page for the cache. Go to the Advanced Settings tab and click on Compact Serialization in the left bar.

  • Select the classes to be removed and click on the Remove button.

Unregister non-generic classes web

  • Click on Save Changes to apply this configuration to the cache.

Using PowerShell

Remove-CompactType cmdlet enables the users to remove the objects which are already defined as serializable.

The following command removes the compact serializable class ‘Products’ from the cache configuration of a cache named demoClusteredCache.

Remove-CompactType -CacheName demoClusteredCache -Class Alachisoft.NCache.Sample.Data.Customer

See Also

Register Non-Generic Classes
Register Generic Classes
Register Generic Classes using Generic Type Handler
Register Classes for Portable Data Sharing

Back to top Copyright © 2017 Alachisoft