Hi

Using the System.Web.Caching.Cache object, I'm able to share data between
two (or more) different web clients (http-sessions). But what if some of my
Clients are Windows/Comsole/... applications ??...can I somehow access the
same cache or am I bound to access my data using http??

Tia

Søren

Re: Sharing data between applications by Marina

Marina
Thu Jan 27 15:08:41 CST 2005

This isn't going to work, as a windows or console application, is each its
own process. You are not going to be able to access data from the process
space of another executable.

"Søren M. Olesen" <smolesen@hotmail.com> wrote in message
news:u1yDlWHBFHA.2540@TK2MSFTNGP09.phx.gbl...
>
> Hi
>
> Using the System.Web.Caching.Cache object, I'm able to share data between
> two (or more) different web clients (http-sessions). But what if some of
> my Clients are Windows/Comsole/... applications ??...can I somehow access
> the same cache or am I bound to access my data using http??
>
> Tia
>
> Søren
>



Re: Sharing data between applications by Søren

Søren
Fri Jan 28 01:01:55 CST 2005


Ok, that was kind of what I figured....but what's the best way of handling
these kind of problems.

My data is stored in an SQL db, so of course I can just reread the data each
time, to see if someone else has changed them, but then my cache is not
worth much.

I guess I need to be able to alert my cache that someone outside the
application has changed some of the data, but how do one do that ??

TIA

Søren




"Marina" <someone@nospam.com> wrote in message
news:%23dlViRLBFHA.3596@TK2MSFTNGP12.phx.gbl...
> This isn't going to work, as a windows or console application, is each its
> own process. You are not going to be able to access data from the process
> space of another executable.
>
> "Søren M. Olesen" <smolesen@hotmail.com> wrote in message
> news:u1yDlWHBFHA.2540@TK2MSFTNGP09.phx.gbl...
>>
>> Hi
>>
>> Using the System.Web.Caching.Cache object, I'm able to share data between
>> two (or more) different web clients (http-sessions). But what if some of
>> my Clients are Windows/Comsole/... applications ??...can I somehow access
>> the same cache or am I bound to access my data using http??
>>
>> Tia
>>
>> Søren
>>
>
>



Re: Sharing data between applications by Yunus

Yunus
Fri Jan 28 02:00:18 CST 2005

My advice you to write a service(may be a webservice) for caching. Service
oriented approach will be the unique solution for heterogen
applications/environment.

For any change on data, you need to call another service route to refresh
data.

I hope this helps you...
Yunus Emre ALPÖZEN
--
Thanks,
Yunus Emre ALPÖZEN



"Søren M. Olesen" <smolesen@hotmail.com> wrote in message
news:eZ7cJdQBFHA.2460@TK2MSFTNGP14.phx.gbl...
>
> Ok, that was kind of what I figured....but what's the best way of handling
> these kind of problems.
>
> My data is stored in an SQL db, so of course I can just reread the data
> each time, to see if someone else has changed them, but then my cache is
> not worth much.
>
> I guess I need to be able to alert my cache that someone outside the
> application has changed some of the data, but how do one do that ??
>
> TIA
>
> Søren
>
>
>
>
> "Marina" <someone@nospam.com> wrote in message
> news:%23dlViRLBFHA.3596@TK2MSFTNGP12.phx.gbl...
>> This isn't going to work, as a windows or console application, is each
>> its own process. You are not going to be able to access data from the
>> process space of another executable.
>>
>> "Søren M. Olesen" <smolesen@hotmail.com> wrote in message
>> news:u1yDlWHBFHA.2540@TK2MSFTNGP09.phx.gbl...
>>>
>>> Hi
>>>
>>> Using the System.Web.Caching.Cache object, I'm able to share data
>>> between two (or more) different web clients (http-sessions). But what if
>>> some of my Clients are Windows/Comsole/... applications ??...can I
>>> somehow access the same cache or am I bound to access my data using
>>> http??
>>>
>>> Tia
>>>
>>> Søren
>>>
>>
>>
>
>