哪位老大能提供给我一个完整的用IIS管理remoting的例子? codeproject上搜索remoting可以找到很多http://www.codeproject.com 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 protected override void OnStart(string[] args){EventLog.WriteEntry("RemoteSystemInfo: OnStart -- Entering"); TCPChannel tcpChannel = new TCPChannel (8085); EventLog.WriteEntry("RemoteSystemInfo: OnStart -- Created Channel"); ChannelServices.RegisterChannel (tcpChannel);EventLog.WriteEntry("RemoteSystemInfo: OnStart -- Registered Channel"); RemotingServices.RegisterWellKnownType ("PS_RemoteSrvr","PS_RemoteSrvr.PS_SystemInfoSrvr", "PS_SystemInfoSrvr", WellKnownObjectMode.SingleCall); EventLog.WriteEntry("RemoteSystemInfo: OnStart -- RegisterWellKnownType Done"); EventLog.WriteEntry ("RemoteSystemInfo: OnStart -- Leaving");} download the source code from here, a lot of examples of dont net remoting in C#.http://www.apress.com/book/supplementDownload.html?bID=47&sID=374and you can also go there for further infomation:http://www.ingorammer.com/RemotingFAQ/ DirectUI文本框问题 C#生成的dll,PB调用时说找不到函数入口? 我要疯了(用Ajax实现联级菜单) 再开贴 dataGridView 与数据库绑定 关于双缓冲的一个问题 DockPanel点击关闭菜单按钮变为可用 UDP异步发送,SendToAsync函数发完之后怎么知道 treeview 问题 我是初学者,关于C#的一个小问题?? 谁有C#的资料发给我呀? 水晶报表安装以后出错,大家帮忙看看。100孝敬大家了。 C#中怎样处理消息?
{
EventLog.WriteEntry("RemoteSystemInfo: OnStart -- Entering");
TCPChannel tcpChannel = new TCPChannel (8085);
EventLog.WriteEntry("RemoteSystemInfo: OnStart -- Created Channel");
ChannelServices.RegisterChannel (tcpChannel);
EventLog.WriteEntry("RemoteSystemInfo: OnStart -- Registered Channel");
RemotingServices.RegisterWellKnownType ("PS_RemoteSrvr","PS_RemoteSrvr.PS_SystemInfoSrvr",
"PS_SystemInfoSrvr", WellKnownObjectMode.SingleCall);
EventLog.WriteEntry("RemoteSystemInfo: OnStart -- RegisterWellKnownType Done");
EventLog.WriteEntry ("RemoteSystemInfo: OnStart -- Leaving");
}