Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Remoting

Remoting

Scheduled Pinned Locked Moved C#
databasesysadminhelpquestionannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gavin Jeffrey
    wrote on last edited by
    #1

    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.

    S 1 Reply Last reply
    0
    • G Gavin Jeffrey

      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.

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      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.


      www.troschuetz.de

      S 1 Reply Last reply
      0
      • S Stefan Troschuetz

        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.


        www.troschuetz.de

        S Offline
        S Offline
        Skynyrd
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups