Unregistering 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 Manager
Select the cache name from the Cache Explorer window for which compact classes are to be removed.
Select the serialized attributes from the Compact Serialization tab and select Remove.
- This will remove the serialized class Product from a cache named demoClusteredCache.
Using Windows 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 Data.Product