Windows Vista Forums

WCF equivalent to System.Web.Caching.Cache?
  1. #1


    Curt K Guest

    WCF equivalent to System.Web.Caching.Cache?



    Is there a WCF equivelent cache object like the System.Web.Caching.Cache
    Object? I would like to simulate a "session" by creating a sliding window
    Cache obect. In order to use this System.Web.Caching.Cache object I need
    to use the HttpRuntime object. It seems a waste to bring up this runtime if
    all I want to do is use the cache. At this point the WCF server application
    will be ran in "stand alone" mode or NOT in the IIS environment.



    If no other object exists like this outside this namespace, anyone know if
    there's an issue using the HttpRuntime (performance/memory consumption other
    gotcha's) inside of a WCF server application?

    thanks in advance,

    Curt


      My System SpecsSystem Spec

  2. #2


    Naraendirakumar R.R. Guest

    Re: WCF equivalent to System.Web.Caching.Cache?

    Don't think you need the HttpRuntime to use System.Web.Caching.Cache. I've
    seen implementations that outside of ASP.NET.
    http://support.microsoft.com/kb/917411. It works in .NET 2.0 & above.

    Hope this helps. If I'm missing something kindly call it out.

    Cheers,
    --
    Naraendirakumar R.R
    Senior Software Architect
    ~~~~~~~~~~~~~~~~~


    "Curt K" <curt_krueger@hotmail.com> wrote in message
    news:eRH0WXmuHHA.3544@TK2MSFTNGP03.phx.gbl...
    >
    >
    > Is there a WCF equivelent cache object like the System.Web.Caching.Cache
    > Object? I would like to simulate a "session" by creating a sliding window
    > Cache obect. In order to use this System.Web.Caching.Cache object I need
    > to use the HttpRuntime object. It seems a waste to bring up this runtime
    > if all I want to do is use the cache. At this point the WCF server
    > application will be ran in "stand alone" mode or NOT in the IIS
    > environment.
    >
    > If no other object exists like this outside this namespace, anyone know if
    > there's an issue using the HttpRuntime (performance/memory consumption
    > other gotcha's) inside of a WCF server application?
    >
    > thanks in advance,
    >
    > Curt
    >



      My System SpecsSystem Spec

WCF equivalent to System.Web.Caching.Cache? problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
System Cache in W2K8 R2 file server Stefan Andersson Server General 2 05 May 2010
How to increase the File System Caching Memory? totalz Vista performance & maintenance 4 24 Dec 2008
Using System.Net.WebClient and no cache Fenster PowerShell 3 08 Oct 2008
Flusing file system cache Michael Chare Vista General 1 07 Nov 2007
large system cache netsavy006 Vista performance & maintenance 0 26 May 2007