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

Same Platform Class Versioning [Deprecated]

Class Versioning in NCache enables seamless data sharing for different versions of the same application class. It addresses the issue of backward and forward compatibility so that the updated client applications can read and write data in parallel with the previous versions without any serialization errors. Although this particular approach is deprecated in favor of more reliable Portable Data Sharing approaches, it offers a mapping facility to address attribute differences among different versions of classes.

Class Attributes Mapping

By mapping the common attributes between versions, NCache enables backward and forward compatibility, as shown below:

Class Attributes Mapping
ProductV2 Class (C#) ProductV1 Class (C#)
id id
name name
price price
quantity quantity
discount

Once you map ProductV2 to ProductV1, you'll be able to store ProductV2 and retrieve it as ProductV1, and vice versa.

See Also

Upgrade NCache Version Offline
Live Upgrade NCache Version
IP Binding with Multiple NICs
Graceful Node Down

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