Client-side API Programming
This tutorial is a practical guide for programmers who want to use the powerful features of client-side NCache to create high-performance and scalable .NET, Java, Python, and Node.js applications. It includes working examples and code snippets to efficiently use various NCache features.
In This Section
Error Handling in Cache
Describes the common system/network operation failures that may occur in cache, and the recommended actions to perform for each failure.
Troubleshooting
Explain how to troubleshoot common problems that you might face while using NCache.
Cache Keys and Data
Explains the enhanced key-value structure of NCache and the supported cache keys and data types.
How to Connect to Cache
Explains how applications can be connected to local/clustered/client cache(s).
Basic Operations
Explains how to perform basic CRUD operations on cache using sync, bulk, and async calls.
Groups for Logical Grouping
Presents distributing related objects in logical groups.
Tag Cache Data
Explains how Tags work.
Named Tags
Explains how Named Tags work.
Data Expiration Strategies
Describes how certain cached items can be automatically removed from the cache when required.
Data Dependency in Cache
Explains how to implement dependency of cached items on files, database table rows, and other cached items.
Cache Dependency on Database
Explains how to add dependency of cached items on the database.
Cache Dependency on External Source
Explains how to make cached items dependent on external sources, e.g., files.
Locking Data
Describes how to lock cached items to prevent multiple clients from updating the same data simultaneously.
SQL Query in Cache
Explains how NCache SQL-like querying mechanism works and what operators it supports.
Query Cache with LINQ
Explains API for querying objects from the cache using LINQ and extended syntax.
Data Structures in Cache
Explains how to use the supported data structures provided by NCache.
Event Notifications
Explains utilizing notifications that arise from add, insert, or remove operations against all or selective cache items, or when cluster status changes.
Pub/Sub Messaging
Explains the concept behind the NCache Publish/Subscribe paradigm for messages and topics, and provide code samples to use it.
Continuous Query
Explains how events can be triggered for the specific queried result set in the cache using Continuous Query.
Stream Processing in Cache
NCache provides you with the ability to use streams. NCache binary data can be read or written from/to the cache using streams.
JSON Data in Cache
Explains how to retrieve data as JSON and use various classes for JSON-type data provided by NCache.
Cache Security
Explains different levels of cache security provided by NCache.
Management Operations on Cache
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.
Clear Cache
Explains when clearing your cache becomes necessary and how to implement it.
Error Logging
Explains how to enable client logging for the client application.
Location Affinity
Explains how location affinity works in NCache.