RemotingHelper is a little helper class by Ingo Rammer that enables you to use interfaces to access remote objects instead of the implementation. In .NET 2.0 there are a lot of new features, and one of them are generics. Especially with the RemotingHelper we deal with types and with the GetObject method we can use generics to parameterize the method by type.
In .NET 1.1 we need to write something like
when using generics in .NET 2.0 we can simply write
No need to to cast and no typeof operator!
Below you find a version of the RemotingHelper using generics, or you can download the RemotingHelper.zip
Remember Me
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.