• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Unregister Non-Generic Classes [Deprecated]

You can remove the serialized objects from a class. This unregisters the class from compact serialization, helping reduce configuration overhead. Classes can be removed using the NCache Management Center or PowerShell. Following are the steps to remove serialized objects from a cache.

Using the NCache Management Center

  • Launch the NCache Management Center by browsing to http://localhost:8251 or <server-ip>:8251.

  • Against the cache name, click on "..." and select Stop.

  • Once the cache is stopped, click View Details.

NCache Management Center showing the cache details page after stopping the cache, with access to Advanced Settings 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 class to be removed and click on the Remove button.

Compact Serialization configuration page in NCache Management Center with a non-generic class selected and the Remove option highlighted.

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

Using PowerShell

The Remove-CompactType cmdlet enables users to remove the objects that are already defined as serializable. The following command removes the compact serializable class Customers from the cache configuration of a cache named demoCache.

Remove-CompactType -CacheName demoCache -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

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top