views:

211

answers:

2

Hi all,

Has anyone implement this new feature in .net 3.5 SP1 in an asp.net environment? The only thing I can find the web is this, which is not an actual implementation.

+1  A: 

in 3.5sp1, we have introduced 2 new APIs that tells you when a new Gen2 notification is approaching Check out http://msdn.microsoft.com/en-us/library/cc647167.aspx for more details.

mfawzymkh
Hi mfawzymkh,Do you know of any real world asp.net implementation that take advantage of these 2 new API? Ideally, I'll like to notify of load balancer to not talk the server that is about to perform a full GC.Thanks!
Herman
A: 

I guess one problem with notifying the Load Balancer is that once the GC is triggered, the CLR halts all threads in order to GC.

So even if your code could receive a notification, it is not going to be able to react to it.

Dominic Zukiewicz