Configuration Files

Although it’s simple to specify the HTTP and TCP settings you want to use with .NET remoting, production systems often need to be configurable.

.NET remoting includes support for so-called configuration files. These are XML files formatted according to the structure shown in Listing 30.8.

Listing 30.8. The Structure of .NET Remoting Configuration XML Files
<configuration> <system.runtime.remoting> <application> <lifetime> <channels> (Instance) <channel> (Instance) <serverProviders> (Instance) <provider> (Instance) <formatter> (Instance) <clientProviders> (Instance) <provider> (Instance) <formatter> (Instance) <client> <wellknown> (Client Instance) <activated> (Client Instance) <service> <wellknown> (Service Instance) <activated> ...

Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.