multithreading - How to implement a singleton .NET component, for use by multiple processes? -


i implement component in .net, , consume in com-aware clients via com interop.

i component singleton across processes use it.

this thread suggests using wcf/remoting doesn't go detail. there reference/example?

remoting relic of past , has been replaced wcf.

you need implement wcf service , set instancing mode single.

i suggest expose named pipe service , host on windows service. word of caution, however, if starts giving problems named pipe hardening, might have use tcp binding.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -