Partager via


How to: Configure Channels 

The following example, shows how to build an HttpChannel with a name that is different from "http" and use it for a server application.

Example

<configuration>
 <system.runtime.remoting>
    <application>
      <service>
        <wellknown 
          type="Type,Assembly" 
          mode="Singleton" 
          objectUri="endpoint"
        />
      </service>
      <channels>
        <channel ref="OtherChannel"/>
      </channel>
    </application>
    <channels>
      <channel 
        id="OtherChannel"
        type="CompleteTypeInformation including versiong and strong-name information"
      />
    </channels>
 </system.runtime.remoting>
</configuration>

See Also

Reference

System.Runtime.Remoting.RemotingConfiguration Class

Concepts

Configuration of Remote Applications
Channels
Channel Registration
Server-Side Registration
Client-Side Registration
Channel Registration

Other Resources

Registering Remote Objects Using Configuration Files
.NET Framework Remoting Overview