Sharing data between applications

S

Søren M. Olesen

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
 
M

Marina

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

Søren M. Olesen

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
 
Y

Yunus Emre ALPÖZEN

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top