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

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

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -