I have been working in the IT for over 14 years, and I'm now the Principal Consultant at Aviva Solutions. I regard myself as being very pragmatic, and I have a lot of experience with ALM, TDD, BDD, DDD,design patterns, architecture, Agile practices, TFS and Silverlight. I've also published Coding Guidelines for C# 3.0 and C# 4.0 and written an open-source framework for verifying unit test behavior called Fluent Assertions.
Wednesday, August 10, 2005
Aborting a .NET Remoting call
Today I ran into quite a frustrating .NET Remoting shortcoming. It seems to be impossible to abort a long-running .NET Remoting call. I've checked on Google to see if anybody came up with a proper solution, and I have even tried to gain access to the TCP Sink that is being used, but all failed. Eventually I decided to use an asynchronous delegate to perform the call on the ThreadPool and abandon it when a certain timeout occures. Hopefully the threads are released in time, otherwise we may have a potential memory leak.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment