【高分求助】在本机运行remoting程序,该如何设定config文件??

PeterPan123 2006-02-26 04:49:32
例如这样:
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达人指教。
...全文
65 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
lj915 2006-03-20
  • 打赏
  • 举报
回复
帮 顶
PeterPan123 2006-02-26
  • 打赏
  • 举报
回复
再顶
PeterPan123 2006-02-26
  • 打赏
  • 举报
回复
顶!没人知道吗??

110,570

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧