Click here to Skip to main content
15,880,608 members
Articles / Web Development / ASP.NET

MyCache: Distributed caching engine for an ASP.NET web farm - Part I: The demonstration

Rate me:
Please Sign up or sign in to vote.
4.85/5 (39 votes)
14 Dec 2010CPOL18 min read 93.7K   1.3K   102  
Demonstration of a distributed caching engine for ASP.NET applications deployed under a load-balanced environment in a web farm, which is built on top of WCF and the Microsoft Caching Application Block.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyCacheServiceLib
{
    /// <summary>
    /// Entity object to store/retrieve to/from Cache
    /// </summary>
    class CacheEntry
    {
        public object Data
        {
            get;
            set;
        }
        public string HashValue
        {
            get;
            set;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Founder SmartAspects
Bangladesh Bangladesh
I write codes to make life easier, and that pretty much describes me.

Comments and Discussions