G
Guest
Hi,
I have created an application that uses IIS to host remote components. All
the remote components are listed in app.config in client and web.config in
server. Now the app.config can contain either localhost name/IP address to
point to
remote component like <wellknown type="XYZ, XYZ"
url="http://localhost:80/XYZ" />. Remoting configuration is done using
RemotingConfiguration.Configure("XYZ.exe.config") in application's main
method. Now abt the problem. We want this application to run both locally as
well as remotely. So during setup we ask the user the local and remote
computer name. But to make this work we should have two app.config files each
containing its own computer name. Is it possible???? Or is there any othe way
to do this????
Please help.
Thanks in advance,
faktujaa
I have created an application that uses IIS to host remote components. All
the remote components are listed in app.config in client and web.config in
server. Now the app.config can contain either localhost name/IP address to
point to
remote component like <wellknown type="XYZ, XYZ"
url="http://localhost:80/XYZ" />. Remoting configuration is done using
RemotingConfiguration.Configure("XYZ.exe.config") in application's main
method. Now abt the problem. We want this application to run both locally as
well as remotely. So during setup we ask the user the local and remote
computer name. But to make this work we should have two app.config files each
containing its own computer name. Is it possible???? Or is there any othe way
to do this????
Please help.
Thanks in advance,
faktujaa