【高分求助】在本机运行remoting程序,该如何设定config文件??
例如这样:
configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown
mode="Singleton"
type="myremoting.ChatRemote,myremoting"
objecturl="chatroom"
/>
</service>
<channels>
<channel
ref="http"
port="8080"
/>
</channels>
</application>
</system.runtime.remoting>
</configuration>
type属性后面跟的是remoting类的名称吗?需要包含namespace吗?逗号后面是生成的程序集名称吧?
objecturl不了解这是怎样设定的,这是在IIS划分虚拟目录后的程序路径吗?如果不是,该怎么写?
还有在client也是这样设置的吗?如下
<client>
<wellknown
type="myremoting.ChatRemote,myremoting"
url="http://localhost:8080/chatroom"
/>
</client>
<channels>
<channel
ref="http"
port="0"
/>
</channels>
看过MSDN了,描述得也不清楚。请remoting达人指教。