Click here to Skip to main content
15,891,655 members
Home / Discussions / C#
   

C#

 
GeneralRe: ContextMenu + NotifyIcon + LEFT Click Problem Pin
Phoen2515-May-06 7:48
Phoen2515-May-06 7:48 
GeneralRe: ContextMenu + NotifyIcon + LEFT Click Problem Pin
Nader Elshehabi15-May-06 12:56
Nader Elshehabi15-May-06 12:56 
GeneralRe: ContextMenu + NotifyIcon + LEFT Click Problem Pin
Phoen2516-May-06 4:03
Phoen2516-May-06 4:03 
GeneralRe: ContextMenu + NotifyIcon + LEFT Click Problem Pin
Nader Elshehabi16-May-06 11:15
Nader Elshehabi16-May-06 11:15 
GeneralRe: ContextMenu + NotifyIcon + LEFT Click Problem Pin
Phoen2517-May-06 5:05
Phoen2517-May-06 5:05 
GeneralRe: ContextMenu + NotifyIcon + LEFT Click Problem Pin
Nader Elshehabi17-May-06 6:23
Nader Elshehabi17-May-06 6:23 
GeneralRe: ContextMenu + NotifyIcon + LEFT Click Problem Pin
Phoen2518-May-06 2:30
Phoen2518-May-06 2:30 
QuestionCaching Data Across Seperate Instances Pin
MrEyes15-May-06 4:21
MrEyes15-May-06 4:21 
Basically I have a framework of assemblies that can be accessed via multiple methods (i.e. web services, COM, direct .NET referencing etc). Interfacing applications create and destroy instances of these assemblies at will and I have no control over this applications.

The issue I have is that these assemblies use a backend database to store large amounts of data that rarely changes. Constantly hitting the database is a performance hit, therefore I am looking for a mechanism to cache the data so that regardless of how the assembly is created/destroyed the cache is available (unless explicity cleared).

The caching I need is relatively simple, essentially everything will be stored as a key/object pair and I do not require cache timeouts etc. With this in mind I have the idea of creating a windows service that will act as the cache (most likely a HashTable or similar variant). As this would be a seperate process it is not linked to construction or destruction of the main code and will give me a consistent cache.

However, I am not sure if this is possible, so here are a few questions:

1) can anybody suggestion an alternative.
2) If the Cache service is running, how would I access that process in order to set/get cache values? (maybe remoting??)
3) Can anybody point out any pitfalls in the plan?

EDIT : This is targetted at .NET 1.1


-- modified at 10:34 Monday 15th May, 2006
AnswerRe: Caching Data Across Seperate Instances Pin
leppie15-May-06 5:30
leppie15-May-06 5:30 
QuestionDataGrid Column Header Pin
Small Rat15-May-06 4:13
Small Rat15-May-06 4:13 
AnswerRe: DataGrid Column Header Pin
Robert Rohde15-May-06 4:35
Robert Rohde15-May-06 4:35 
GeneralRe: DataGrid Column Header Pin
Small Rat15-May-06 4:55
Small Rat15-May-06 4:55 
GeneralRe: DataGrid Column Header Pin
Robert Rohde15-May-06 5:40
Robert Rohde15-May-06 5:40 
AnswerRe: DataGrid Column Header Pin
Nader Elshehabi15-May-06 13:14
Nader Elshehabi15-May-06 13:14 
GeneralRe: DataGrid Column Header Pin
Small Rat15-May-06 15:14
Small Rat15-May-06 15:14 
GeneralRe: DataGrid Column Header Pin
Nader Elshehabi16-May-06 11:45
Nader Elshehabi16-May-06 11:45 
Questiona resx file and ico question. Pin
sameerhanda15-May-06 3:38
sameerhanda15-May-06 3:38 
AnswerRe: a resx file and ico question. Pin
Robert Rohde15-May-06 3:51
Robert Rohde15-May-06 3:51 
QuestionPreviewing images (64*64) control.... Pin
anderslundsgard15-May-06 3:28
anderslundsgard15-May-06 3:28 
AnswerRe: Previewing images (64*64) control.... Pin
Robert Rohde15-May-06 3:42
Robert Rohde15-May-06 3:42 
QuestionHow to Install WindowsService using dos prompt Pin
VenkataRamana.Gali15-May-06 2:00
VenkataRamana.Gali15-May-06 2:00 
AnswerRe: How to Install WindowsService using dos prompt Pin
Colin Angus Mackay15-May-06 2:40
Colin Angus Mackay15-May-06 2:40 
AnswerRe: How to Install WindowsService using dos prompt Pin
Eric Dahlvang15-May-06 4:21
Eric Dahlvang15-May-06 4:21 
QuestionDelegates and inheritance Pin
BadKarma15-May-06 1:58
BadKarma15-May-06 1:58 
AnswerRe: Delegates and inheritance Pin
Robert Rohde15-May-06 2:15
Robert Rohde15-May-06 2:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.