Wellknown_Server.config
上传用户:lxycoco
上传日期:2022-07-21
资源大小:38457k
文件大小:1k
源码类别:

C#编程

开发平台:

Others

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <configuration>
  3.    <system.runtime.remoting>
  4.       <application name="Hello">
  5.          <service>
  6.             <wellknown mode="SingleCall" 
  7.                        type="Wrox.ProCSharp.Remoting.Hello, RemoteHello" 
  8.                        objectUri="Hi" />
  9.           </service>
  10.           <channels>
  11.              <channel ref="tcp" port="6791" 
  12.                 displayName="TCP Channel (HelloServer)" />
  13.              <channel ref="http" port="6792" 
  14.                 displayName="HTTP Channel (HelloServer)" />
  15.           </channels>
  16.       </application>
  17.    </system.runtime.remoting>
  18. </configuration>