Export (0) Print
Expand All

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

Community Additions

ADD
Show:
© 2014 Microsoft