I have a static variable that I want to share across two service calls. In production this seems to be working but in development this is not workingI am totally stumped.
Site UAT1 has application BG which has application pool BGI.
Site EXTERNAL has application BG which has application pool BGI.
I am using an static event to hook a UAT1 service call with call back to EXTERNAL service call. This was working correctly until I upgraded to 2012 of Visual Studio.
In subscribe I do : EXTERNAL .Hook += Sender; Log("Connecting");
In Dispose I do : EXTERNAL.Hook -=Sender; Log("Disconnecting");
To confirm that this works I wrote and External.IsActive() return hook != null; and it returns true (ie the event handler is connected).
When I receive a message on EXTERNAL.Input( message msg) I then
if( Hook != null ) Hook( this, ...
Go to the complete details ...