asp.net连remoting,web.config怎么配啊!!!!
我用asp.net连remoting,如果在程序中写连接代码,asp.net是可以用远程对象的,但是我在web.config后,aps.net就不连远程对象了,连的是本地对象,我的本地连接代码如下:MyObject.MyRemote obj = (MyObject.MyRemote)Activator.GetObject(typeof(MyObject.MyRemote),"tcp://huangx:8085/RemoteCall");
在web.config中如下:
<system.runtime.remoting>
<application>
<client url = "tcp://huangx:8085/RemoteCall">
<wellknown type = "MyObject.MyRemote,MyObject" url = "tcp://huangx:8085/RemoteCall" />
</client>
<channels>
<channel ref="tcp client"></channel>
</channels>
</application>
</system.runtime.remoting>
请大家帮帮忙啦