Remoting
-
Hi, If i have a remoting server that uses a class library for the remoting objects and i update this library regularly - do i have to keep updating the reference on the client side or does it pick up the changes?? Cause you still have to include a reference to the class library dll in the client side?? Im new to remoting so any explanations on this would help a lot. If you have to update on the client side is there any code that would do something like query the server for the latest remote class?? Thanks in advance.
-
Hi, If i have a remoting server that uses a class library for the remoting objects and i update this library regularly - do i have to keep updating the reference on the client side or does it pick up the changes?? Cause you still have to include a reference to the class library dll in the client side?? Im new to remoting so any explanations on this would help a lot. If you have to update on the client side is there any code that would do something like query the server for the latest remote class?? Thanks in advance.
I hope I don't tell you something wrong, but if so surely someone will correct me :) I think it's not necessary to update the library on the client side too, as the intention of Remoting is that the client only needs to know the signature of methods and the implementation is up to the server. To go on with this thought it's enough when the client side has an interface definition and the remote object class on the server implements this interface.
-
I hope I don't tell you something wrong, but if so surely someone will correct me :) I think it's not necessary to update the library on the client side too, as the intention of Remoting is that the client only needs to know the signature of methods and the implementation is up to the server. To go on with this thought it's enough when the client side has an interface definition and the remote object class on the server implements this interface.
Correct. As long as u dont change the remote object's interface u wont need to update anything on the client side. If ur referencing the remote object in ur client application, I would suggest u create a interface and make the remote object implement it, and then make all client calls through the interface.