Re: Externally Add Items to ASP.NET Cache
am 25.01.2008 18:57:32 von George Ter-Saakov
You can not do it externally simply because those things are running in 2
different processes.
the best way would be create a WebService that your Windows forms call.
george
"Spam Catcher" wrote in message
news:Xns9A3080F1C35DBusenethoneypotrogers@127.0.0.1...
> Is there a way to externally add items to ASP.NET's data cache?
>
> Any sort of APIs in .NET? I have a Windows forms program which may need to
> add some items.
>
> Or I guess I could just call a webpage. Hmm.
>
> --
> spamhoneypot@rogers.com (Do not e-mail)
RE: Externally Add Items to ASP.NET Cache
am 25.01.2008 21:06:03 von pbromberg
You can use the Cache directly from a non-ASP.NET program with a reference
to System.Web and then:
System.Web.HttpRuntime.Cache
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"Spam Catcher" wrote:
> Is there a way to externally add items to ASP.NET's data cache?
>
> Any sort of APIs in .NET? I have a Windows forms program which may need to
> add some items.
>
> Or I guess I could just call a webpage. Hmm.
>
> --
> spamhoneypot@rogers.com (Do not e-mail)
>
RE: Externally Add Items to ASP.NET Cache
am 25.01.2008 22:30:48 von Spam Catcher
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
wrote in
news:8D815E94-5E06-46A0-A78F-1A610330D47C@microsoft.com:
> You can use the Cache directly from a non-ASP.NET program with a
> reference to System.Web and then:
>
> System.Web.HttpRuntime.Cache
Will this reference the same data cache as ASP.NET - even tho both run in
different processes?
Thanks.
--
spamhoneypot@rogers.com (Do not e-mail)