Cookie Consent by Free Privacy Policy Generator Sample Programs & Source Codes - NCache

Sample Programs for NCache

Basic Operations

This .NET sample program explains the working of basic NCache operations like Add, Update, Insert, Remove and Delete.

Download .zip


Asynchronous Operations

This .NET sample program explains the working of basic NCache operations like Add, Insert and Remove can be performed asynchronously.

Download .zip


Bulk Operations

This .NET sample program explains how basic NCache operations like Add, Insert, Update, Remove and Delete can be performed in bulk.

Download .zip


Cache Item Versioning

This .NET sample program explains NCache's cache item version feature in detail. You can insert an item in cache and then if you have to add the same item in cache, it must have the same version as the previously added Item.

Download .zip


Custom Events

This .NET sample program explains working of selective and Cache level events. When an operation is performed on any cache item all clients who have notified interest in that item (or key) is informed via notification.

Download .zip


Compact Serialization

This .NET sample program explains NCache's compact serialization feature. NCache generates serialization code and compiles it in-memory when your application connects to the cache. This code is used to serialize objects.

Download .zip


Continous Query

This .NET sample program elaborates Continuous Query (CQ). You can specify criteria and register it with the cache cluster. When an item is added to the cache cluster and it matches the criteria, you receive an event against that item.

Download .zip


Custom Dependency

This .NET sample program explains NCache custom dependency feature which allows you to implement a custom dependency and monitor custom data source for any changes. When the data is changed, you fire a dependency update within NCache which causes the corresponding cached item to be removed from the cache.

Download .zip


Database Synchronization

This .NET sample program explains working of NCache database synchronization. NCache allows you to specify dependencies between cached items and data in the database. Then, whenever that data in the database changes, the cache becomes aware of it and either invalidates its data or reloads a new copy.

Download .zip


Dependency

This elaborates the different dependencies specified by NCache and their functionalities. These dependencies are key based dependency, file based dependency, SQL dependency, Oracle dependency and database dependency.

Download .zip


Backing Source

This .NET sample program explains working of backing sources like read-through, write-through and write-behind.

Download .zip


Entity Data Model Integration Demo

This NCache sample program shows how you can plug-in NCache to your Entity Framework application, run it in analysis mode, and quickly see all the queries being used by it.

Download .zip


Events

This .NET sample program explains working of selective and Cache level events. When an operation is performed on any cache item all clients who have notified interest in that item (or key) is informed via notification.

Download .zip


Groups and Tags

This explains how to query a cache item based on unique identifiers like tag(s) and group(s). You can query the cache using NCache API for a particular tag/group, and it returns all the cache items having that tag or in that group.

Download .zip


Session Store Provider

This NCache sample program demonstrates the working of a web-based numeric guessing game. The game progresses on a number intially specified.

Download .zip


Item Locking

This sample program depicts how you can lock item(s) in the cache. Lock is used to exclusively lock a cached item so nobody else can read or write it. This item stays locked until either the lock expires or it is unlocked.

Download .zip


NCache LINQ

This NCache sample program explains LINQ, which is a popular object querying language in .NET. NCache has implemented a LINQ provider which allows you to search the cache with LINQ queries.

Download .zip


NHibernate

This .NET sample program demonstrates how NCache can be used as an NHibernate second level cache. It also demonstrates NCache's database synchronization feature which allows you to synchronize classes with database.

Download .zip


Northwind Demo

This NCache sample program uses Northwind database and demonstrates basic database operations on Northwind.

Download .zip


NOutput Cache

This sample .NET program explains NCache's ASP.NET Output Cache provider implementation. It allows you to cache ASP.NET page output in a distributed cache and share it in a web farm.

Download .zip


View State

This sample .NET program explains NCache's ASP.NET view state provider implementation. It allows you to cache ASP.NET view state in a distributed cache to increase performance.

Download .zip


Object Query Language

This sample program explains Object Query Language (OQL) with which you can search the cache. Search criteria can include object attributes (e.g. cust.city = 'New York') and you can also include Tags and Named Tags in the query language.

Download .zip


Streaming API

You can stream large objects (e.g. movie or audio files), using NCache streaming API. With this API, you can get chunks of data and pass upward one chunk at a time.

Download .zip

© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.