Skip to content

Implementation of the .NET System.Runtime.Caching.ObjectCache that uses the filesystem.

Notifications You must be signed in to change notification settings

mabakay/nFileCache

Repository files navigation

nFileCache

nFileCache is a implementation of the .NET System.Runtime.Caching.ObjectCache that uses the filesystem as the target location.

Welcome to the nFileCache! It is a fork of adamcarter's .NET File Cache with a handful of extra features.

##Getting Started: Basic usage

var cache = new NFileCache();
cache["foo"] = "bar";

Console.WriteLine("Reading foo from cache: {0}", cache["foo"]);

By default nFileCache internally uses .NET binary serializer and supports all value types, streams, anonymous classes and classes marked with Serializable attribute. Optionally you can extend or change this behavior by providing own implementation of serializer class.

Checkout the wiki for more documentation.

About

Implementation of the .NET System.Runtime.Caching.ObjectCache that uses the filesystem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published