1. Introduction

Axiell have implemented an example cache for .NET in the ImageCache code library. This library provides the dynamic watermarking and cache functionality.

Example code and the redistributable ImageCache.dll code library can be found in the redist folder of the Calm API web application. 

The code library implements a generic cache for watermarking and caching images. Users of this library have to extend the DS.ImageCache.ImageCache class and override the GetImage method. Full class library documentation is provided as a .CHM file in the redist folder.

Example files included are:

BrokerImageCache.cs Example showing how to extend ImageCache to fetch the image from an Calm API service. You may have to change a couple of namespaces in order to link to the web reference.
ImageCacheExample.cs Example console application showing how to use the cache from within your own code.
Reference.cs Generated proxy sub for the Calm API Web Service. In practice, you will use your own generated proxy stub. This file is only included so that the example code can be complied.

 

 

 

Return to help page