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
>