Click here to Skip to main content
15,891,372 members
Articles / Programming Languages / XML

AppFabric Caching Extension

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
2 Jan 2012CPOL4 min read 42K   1.2K   17  
A component which can be plugged to a WCF service or any other client to utilize AppFabric caching features
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CachingExtension
{
    public class ProcessEvents
    {
        public static readonly List<string> Events = new List<string>();

        public static void AddEvent(string p)
        {
            Events.Add(string.Format("{0}: {1}", DateTime.Now, p));
        }
    }
}

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
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions