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. Compiling .Net Remoting Client

Compiling .Net Remoting Client

Scheduled Pinned Locked Moved C#
csharpsysadminhelptutorialquestion
2 Posts 2 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.
  • W Offline
    W Offline
    wasife
    wrote on last edited by
    #1

    Hi, I am making my first .Net Remoting program in Visula Studio 2005. When i add the the namespace of the server in the client at the top like this: using BasicServer; and then compile my program, it gives error message, Unknow namespace or type. Please tell me how to compile this program. I am making both Client and Server on the same machine. I have not included reference to the dll of my Server. Should i add that too? I intend to test these on different machines. Thanks in advance... Regards, Wasif Ehsan.

    K 1 Reply Last reply
    0
    • W wasife

      Hi, I am making my first .Net Remoting program in Visula Studio 2005. When i add the the namespace of the server in the client at the top like this: using BasicServer; and then compile my program, it gives error message, Unknow namespace or type. Please tell me how to compile this program. I am making both Client and Server on the same machine. I have not included reference to the dll of my Server. Should i add that too? I intend to test these on different machines. Thanks in advance... Regards, Wasif Ehsan.

      K Offline
      K Offline
      karam chandrabose
      wrote on last edited by
      #2

      Hi, if u are going to use your server class directly in your cliend , then u shall use soapsuds to extract the type information, add reference to it and then include the namespace. But in any remoting scenario, it is recommended to go with a Common interface / abstarct class between client and the server and thereby adding reference to the dll containing the interface / abstract class. Make your remoting server class implement the interface / inherit the abstract class, Hope this helped you. Love all,

      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