I've got a cache that needs to know that a weakreference's target is rooted. What is the best way to do this?
The cache is accessed ~20 times/second in a server environment, and once per minute in a rich client environment. Calling GC.Collect would solve my logical problem, but I can't imagine that it would be very performant on the server. Are there other options I can use? Would the profiler APIs help? TIA, Ed
