Ignore:
Timestamp:
Feb 3, 2013, 9:12:25 AM (11 years ago)
Author:
roman
Message:

Server and Client are converted to REST

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Miscellaneous/WcfRest01/Client/app.config

    r169 r170  
    1 <?xml version="1.0" encoding="utf-8" ?>
     1<?xml version="1.0"?>
    22<configuration>
     3  <startup>
     4    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
     5  </startup>
    36  <system.serviceModel>
    4     <bindings>
    5       <basicHttpBinding>
    6         <binding name="BasicHttpBinding_IService" />
    7       </basicHttpBinding>
    8     </bindings>
    97    <client>
    10       <endpoint address="http://localhost:999/Service" binding="basicHttpBinding"
    11           bindingConfiguration="BasicHttpBinding_IService" contract="ServerServiceReference.IService"
    12           name="BasicHttpBinding_IService" />
     8      <endpoint name="rest" address="http://localhost:999/Service" binding="webHttpBinding" behaviorConfiguration="defaultBehaviorConfiguration" contract="Client.IService" />
    139    </client>
     10    <bindings/>
     11    <behaviors>
     12      <endpointBehaviors>
     13        <behavior name="defaultBehaviorConfiguration">
     14          <webHttp/>
     15        </behavior>
     16      </endpointBehaviors>
     17    </behaviors>
    1418  </system.serviceModel>
    1519</configuration>
Note: See TracChangeset for help on using the changeset viewer.