Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - WCF equivalent to System.Web.Caching.Cache?

 
 
Old 06-29-2007   #1 (permalink)
Curt K


 
 

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
Old 07-04-2007   #2 (permalink)
Naraendirakumar R.R.


 
 

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
 

Thread Tools


Similar Threads
Thread Forum
Solved 16MB Cache and 32MB Cache?? General Discussion
How to increase the File System Caching Memory? Vista performance & maintenance
Using System.Net.WebClient and no cache PowerShell
Flusing file system cache Vista General
large system cache Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46