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. A .Net remoting question

A .Net remoting question

Scheduled Pinned Locked Moved C#
questioncsharpsysadmin
1 Posts 1 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.
  • X Offline
    X Offline
    Xiaoming Qian
    wrote on last edited by
    #1

    I am a newcomer to .Net Remoting. After I had read some articles at CodeProject,I did som work by my self. I created three project:Server.exe,Client.exe,RemotableObject.dll.Here is my Client code: using RemotableObject; ... private MyRemotableObject remoteObject; ... TcpChannel m_TcpChan = new TcpChannel(); ChannelServices.RegisterChannel(m_TcpChan); RemotingConfiguration.RegisterWellKnownClientType( typeof(MyRemotableObject),"tcp://localhost:8080/MyRemotableObject"); remoteObject = new MyRemotableObject(); remoteObject.Method1(); When I running the Client, it raise "System.IO.FileNotFoundException: File not found:RemotableObject".So I put RemotableObject.dll in the Client.exe's folder,and it's all well. My question is: Does the RemotableObject.dll must be deployed together with every client? If it must,then what role does the RemotableObject.dll acts on the client? If it doesn't ,what additional work should I do to let RemotableObject.dll apart from the client?

    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