Export (0) Print
Expand All

How to: Configure Channels

This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF).

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



Copyright © 2007 by Microsoft Corporation. All rights reserved.

Community Additions

Show:
© 2014 Microsoft