Compartilhar via


Como: Compilar and Run a Application Remoting Basic

The seguinte procedimento shows How to Use the linha de comando Tools that enviar with the .NET Framework SDK to Compilar the basic arquitetura de comunicação remota aplicativo interno the topics Como: Compilação a Type Remotable, Building a Host Application, and Como: Compilação a Application Client. As instruções no cada um desses tópicos tinham você a criar um diretório remoting com subpastas denominado type, cliente listener.

Para Compilar e executar um aplicativo arquitetura de comunicação remota básico

  1. At the prompt de comando in the Diretório remoting\type, tipo the seguinte Command:

    vbc /t:library RemotableType.vb
     [C#]
    csc /noconfig /t:library RemotableType.cs
    
  2. Copiar RemotableType.dll em remoting\client e remoting\listener diretórios.

  3. Copy listener.exe.config em the Diretório remoting\listener.

  4. Copy client.exe.config em the Diretório remoting\client.

  5. At the Comando-prompt in the Diretório remoting\listener, tipo the seguinte Comando:

    vbc /r:RemotableType.dll Listener.vb
    csc /noconfig /r:RemotableType.dll Listener.cs
    
  6. At the Comando-prompt in the Diretório remoting\client, tipo the seguinte Comando:

    vbc /r:RemotableType.dll client.vb
    csc /noconfig /r:RemotableType.dll Listener.cs csc /noconfig /r:RemotableType.dll Client.cs 
    
  7. At the prompt de comando in the Diretório remoting\listener , tipo Listener.

  8. When the aplicativo Listener is execução, aberto a Novo prompt de comando in the remoting\client Diretório and tipo Client.

Consulte também

Outros recursos

Criando um aplicativo do Sistema de Interação Remota Basic .NET Framework