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
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.
Cache Keys and Data Overview
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 connected to local/clustered/client cache(s).
Basic Operations for Caching Data
Explains how to perform basic CRUD operations on cache using sync, bulk, async calls.
Groups for Logical Data Grouping
Presents distributing related objects in 'logical' groups.
Tag Cache Data
Explains how Tags work.
Named Tags with Cache Data
Explains how Named Tags work.
Data Expiration Strategies in Cache
Describes how certain cached items can be automatically removed from the cache when required.
Data Dependency for Relationship in Cache
Explains how to implement dependency of cached items on files, database table rows and other cached items.
Cache Data Dependency on Database
Explains how to add dependency of cached items on the database.
Cache Data Dependency on External Source
Explains how to make cached items dependent on the external sources e.g. files.
Locking Data For Concurrency Control
Describes how to lock cached items to prevent multiple clients from updating the same data simultaneously.
Text Searching in Cache with Lucene.NET
Explains API for querying objects from the cache using SQL and extended syntax.
Search Cache with Language Integrated Query (LINQ)
Explains API for querying objects from the cache using LINQ and extended syntax.
.NET Data Structures in Cache
Explains how to use the supported data structures provided by NCache.
Event Notifications in Cache
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.
Pub/Sub Messaging Components and Usage in Cache
Explains the concept behind NCache Publish/Subscribe paradigm for messages and topics and provides code samples to use it.
Continuous Query in Cache
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.
Cache Security and Data Encryption
Explains different levels of cache security provided by NCache.
JSON Data in Cache
Explains how to retrieve data as JSON and use various classes for JSON type data 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 NCache Web Manager or NCache tools.
Error Logging in NCache
Explains how to enable client logging for client application.