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 applications. This includes working examples and code snippets to utilize various features of NCache efficiently.
In This Section
Handling Failures in Cache
Describes the common system/network operation failures that may occur in cache, and the recommended actions to perform for each failure.
Data in NCache
Explains the enhanced key-value structure of NCache and the supported cache keys and data types.
Connect to Cache
Explains how applications can connected to local/clustered/client cache(s).
Basic Cache Operations
Explains how to perform basic CRUD operations on cache using sync, bulk, async calls.
Presents distributing related objects in 'logical' groups.
Explains how Tags work.
Using Named Tags
Explains how Named Tags work.
Describes how certain cached items can be automatically removed from the cache when required.
Data Relationship in Cache
Explains how to implement dependency of cached items on files, database table rows and other cached items.
Sync Cache With Database
Explains how to add dependency of cached items on the database.
Sync Cache with External Source
Explains how to make cached items dependent on the external sources e.g. files.
Using Locks for Concurrent Updates
Describes how to lock cached items to prevent multiple clients from updating the same data simultaneously.
Text Searching in Cache with Lucene
Explains API for querying objects from the cache using SQL and extended syntax.
Search Cache with LINQ
Explains API for querying objects from the cache using LINQ and extended syntax.
Data Types in Cache
Explains how to use the supported data types 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.
Using Streams in NCache
NCache provides you the facility of using streams. NCache binary data can be read or written from/to the cache using streams.
Security and Encryption
Explains different levels of cache security provided by NCache.
Cache Data as JSON
Explains how to retrieve data as JSON and use various classes for JSON type data provided by NCache.
Explains the data compression feature provided by NCache to minimize the data traffic between cluster and client nodes and efficiently using the memory.
NCache Management API
Explains how to use the API provided by NCache to perform the basic cache management operations without using either NCache Web Manager or NCache tools.
Explains how to enable client logging for client application.