Client Side API Programming
This tutorial is a practical guide for programmers who want to utilize powerful features of Client side NCache to create high-performance and scalable .NET/.NET Core, Java, Node.js, and Python applications. This includes working examples and code snippets to utilize various features of NCache efficiently.
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.
Explains how to troubleshoot common problems which 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).
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.
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.
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.
Full Text Search with Distributed Lucene
Explains API for querying objects from the cache using SQL and extended syntax.
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.
Explains utilizing notifications that arise as a result of add, insert or remove operations against all or selective cache items, or when cluster status changes.
Explains the concept behind NCache Publish/Subscribe paradigm for messages and topics and provides code samples to use it.
Explains how events can be triggered for specific queried result set in the cache using Continuous Query.
Stream Processing in Cache
NCache provides you the facility of using 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.
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.
Explains how to enable client logging for the client application.
Explains how location affinity works in NCache.