Click here to Skip to main content
15,880,392 members
Articles / Desktop Programming / Win32

Routing Manager for WCF4

Rate me:
Please Sign up or sign in to vote.
5.00/5 (38 votes)
29 Apr 2010CPOL18 min read 107.8K   2.5K   92  
This article describes a design, implementation and usage of the Custom Routing Manager for managing messages via Routing Service built-in .Net 4 Technology.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.serviceModel>

    <services>

      <service
          name="Service.Test"
          behaviorConfiguration="test">
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8002/rkiss/service" />
          </baseAddresses>
        </host>       
        <endpoint address=""
                  binding="basicHttpBinding"
                  contract="Service.ITest" />
        <endpoint address="mex"
                  binding="mexHttpBinding"
                  contract="IMetadataExchange" />
      </service>
    </services>

    <behaviors>
      <serviceBehaviors>
        <behavior name="test">
          <serviceMetadata httpGetEnabled="True"/>
          <serviceDebug includeExceptionDetailInFaults="False" />
        </behavior>
      </serviceBehaviors>
    </behaviors>

  </system.serviceModel>

</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions