SkillAgentSearch skills...

ICache.NET

Dependency-injection object caching mechanism for .NET. Implementations for IndexUs SharedCache, MongoDB, ASP.NET Session, HttpRuntime and Request stores, and POCO Dictionaries

Install / Use

/learn @beastcrm/ICache.NET
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ICache.NET

ICache.NET is a handy generic object caching interface for .NET. Allows runtime dependency-injection of an object caching mechanism, which is handy for switching between dev and production environments, for running unit tests, and for abstracting repository code.

Implementations are currently available for:

  • IndexUs SharedCache
  • MongoDB
  • ASP.NET Session store
  • ASP.NET HttpRuntime store
  • ASP.NET Request stores
  • POCO in-memory dictionaries

Future implementations could include MemCached, SQL Server, file storage, etc.

Planned enhancements include allowing you to specify a "stack" of caching mechanisms, so that when a requested key is not in a given cache, it will fall back to its own backing cache, retrieve it, and store it. This will provide redundancy as well as performance advantages from a stack such as in-memory cache -> remote shared cache -> remote permanent data store -> remote permanent failover store.

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated10y ago
Forks3

Languages

C#

Security Score

55/100

Audited on Jan 6, 2016

No findings