Shared Hashtable between different apps

djpirra

New member
Joined
Mar 16, 2008
Messages
2
Programming Experience
5-10
Hello,

I currently have a ASP.NET Website and a Windows Service doing some work together.
It consists in running some processes either using scheduling or on-demand requests.

Basically before i had the windows service i used a Shared Hashtable to register all the on-demand requests and avoid duplicate requests for the same ID. I tought i could use the same hashtable to add the scheduled requests also... but somehow they are being created in separated hashtable's.
I think its because the windows service uses a diferent instance of the website.

So my question is... how or what should i use to get this kind of job done?

PS: in the hashtable i save full class objects for future reference so the solution must be able to achieve the same.

Thank you for your time!
 

djpirra

New member
Joined
Mar 16, 2008
Messages
2
Programming Experience
5-10
How do you keep a shared object / class in the database?

Can you serialize classes with Running Threads Information in it?

Please explain :)

Thanks
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,374
Location
Sydney, Australia
Programming Experience
10+
I think I may have misjudged your requirement. I don't think I really know the answer to your question but, if I wanted to, this is where I would start.

sharing data between appdomains - Google Search

Now, that might only provide information that you already have, and the issue might be sharing data between AppDomains running under different user accounts. I'm afraid I can't help with that.
 
Top Bottom