Hi NG!
I have a question about the versioning in .NET Remoting.
I have an application with version 1 (I will call it A1) and a Service
with version 1 (S1). S1 provides function calls to RemoteObject version
(RO1).
Now I would like to extend the RemoteObject, so I have to build a new
version 2 (RO2), whose interface derive from the interface of RO1.
S2 has a reference to both, RO1 and Ro2.
My new client application A2 has a reference to both, RO1 and RO2 to
ensure the compatibility, if the S1 is running instead of S2.
How can I check if the RO2 (or the interface) is provided, if A2 is
running agains S1. At the moment I get a transparent proxy but I have
to catch a RO2
function call. Is try/catch the only way to check if A2 is running
against S1 or S2 ?
Is there an other possibility to ensure compatibility than the creation
of a new assembly (RO2) ?
Thanks and regards
Marcel