I have a situation where information about a user is stored in the web application cache and when that information is updated in one application – I want to notify the other applications (running on the same machine) that the data should be removed from it’s cache so it can be refreshed. Basically I need to keep cached data in sync across multiple asp.net applications.
I have started down the path of using a central web service to help coordinate the notifcations but it is turning out to be more complex than I think it needs to be.
Is there a way that one asp.net application can easily reach across to another on the same box to clear an item from the cache?
Is there a better way to achieve shared cached information than using the application cache?
I really want to create a way for apps to communicate in a loosely coupled way – I looked at nservice bus but the dependency on MSMQ scared me away – my client has had bad experiences with MSMQ and does not want to support an app that requires it.
Suggestions?
Michael
There are commercial distributed caches available for .net other than Microsoft Velocity – NCache, Coherence, etc.