Advertuse

Search This Blog

Your Ad Here

Friday, 10 October 2008

.net Remoting Config file of client side and server side

Client Config

Server Config
<configuration>
<system.runtime.remoting>
<application>
<client>
<wellknown type="RemotableType, RemotableType" url="http://localhost:8989/RemotableType.rem" />
</client>
</application>
</system.runtime.remoting>
</configuration>


<configuration>
<system.runtime.remoting>
     <application>
           <service>
               <wellknown mode="Singleton"                  type="RemotableType, RemotableType" objectUri="RemotableType.rem" />
</service>
<channels>
<channel ref="http" port="8989"/>
</channels>
</application>
</system.runtime.remoting>
</configuration>

application tag has sub tag of client

application tag has sub tag of Service and Channel

No comments: