i am having a sever and client seperate class with also a configuration file the file names are
server.exe.config
<configuration>
<system.runtime.remoting>
<application name="server">
<service>
<activated type="remote.ServiceClass, remote"/>
</service>
<channels>
<channel ref="http" port="8080">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
<clientProviders>
<formatter ref="binary"/>
</clientProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
</configuration>
and the client.exe.config file is
<configuration>
<system.runtime.remoting>
<application name="client">
<client url = "http://localhost:8080">
<activated type="remote.ServiceClass, remote"/>
</client>
<channels>
<channel ref="http" port="0">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
<clientProviders>
<formatter ref="binary"/>
</clientProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
</configuration>
is there any possibility to define the url in client.exe.config as dynamic if i said the url it will be static one,then this application will run only in my network,suppose if i am creating this as a product this config file should be a runtime one
how to do this,can anybody pls tell me.....
Thanks