Developer's Guide
This section provides a practical guide for programmers who want to use various features of NCache in .NET, Java, Python, and Node.js to develop high-performance and scalable applications.
In This Section
Overview
Learn about the programming languages supported by NCache (.NET, Java, Node.js, and Python), the features available for each language, and how this guide is organized.
Connecting to Cache
Learn how to connect to NCache cluster using GetCache, CacheConnectionOptions (retries, keep-alive, load balancing), connect with security credentials, connect to multiple caches, and troubleshoot common connection issues.
Error Handling
Learn about common cache operation failures, methods for capturing diagnostic information through client logging, and solutions for frequently encountered issues.
CRUD Caching Operations
Learn how to add, retrieve, update, and remove cache items using NCache APIs, including synchronous, asynchronous, and bulk operations.
JSON [Deprecated]
Learn how to store, retrieve, update, and query JSON documents in NCache.
Security API
Learn how to configure cache security, manage user authentication and authorization, and secure client access to clustered caches.
Locking Data
Learn how to prevent concurrent updates and ensure data consistency using optimistic and pessimistic locking mechanisms.
Organizing & Tagging Data
Group, categorize, and retrieve cached data efficiently using groups, tags, and named tags.
Data Expiration & Invalidation
Learn how to automatically expire and invalidate cached data using time-based expiration, cache dependencies, database notifications, and external source dependencies.
Querying Cache
Learn how to efficiently query cached data using SQL and LINQ, optimize searches with indexes, and handle custom data types in queries.
Data Structures
Learn how to optimize caching with NCache's data structures, List, Queue, HashSet, Dictionary, and Counter.
Events
Learn how to subscribe to cache events, track data changes, use continuous queries, and respond to cache management operations in real time.
Pub/Sub Messaging
Explains the concept behind the NCache Publish/Subscribe paradigm for messages and topics and provide code samples to use it.
Server-Side Code
Learn how to use NCache server-side features, i,e., read-through, write-through, write-behind, loaders, refreshers, entry processors, and custom dependencies.
.NET Integrations
Demonstrates the use and capabilities of client-side ASP.NET, ASP.NET Core, Entity Framework (EF) Core, LINQ, NHibernate, and Entity Framework 6.x.
Java Integrations
Discusses the various integrations for Java Frameworks, tools, and API.
Node.js Integrations
Learn how to integrate NCache with Node.js and Express applications to enable distributed caching, session storage, and high-performance data access.
API Wrappers
Explains the different Third-Party wrappers that NCache provides with minimal code change.
Management API
Explains how to use the API provided by NCache to perform the basic cache management operations without using either the NCache Management Center or NCache tools.