view SilverlightExampleApp/SilverlightExampleApp.Web/Web.config @ 113:954f66bb8dbf

Portable library added for DTO
author adminsh@apollo
date Sat, 19 May 2012 16:21:07 +0100
parents 502f5f365649
children
line wrap: on
line source

<?xml version="1.0"?>

<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->

<configuration>
    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true" />
        <validation validateIntegratedModeConfiguration="false" />
    </system.webServer>
    <system.web>
      <compilation debug="true" targetFramework="4.0" />
      <authentication mode="Forms">
        <forms defaultUrl="index.html"
               loginUrl="index.html"
               name="SilverlightExampleApp.Web"  />
      </authentication>
    </system.web>

  <!--<location path="Secure">
    <system.web>
      <authorization>
        <deny users="?"/>
      </authorization>
    </system.web>
  </location>-->
  
  <location path="Services">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
  
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior name="">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <bindings>
      <customBinding>
        <binding name="SilverlightExampleApp.Web.Services.AuthenticationService.customBinding0">
          <binaryMessageEncoding />
          <httpTransport />
        </binding>
        <binding name="SilverlightExampleApp.Web.Services.SecureService.customBinding0">
          <binaryMessageEncoding />
          <httpTransport />
        </binding>
        <binding name="SilverlightExampleApp.Web.Secure.SecureService.customBinding0">
          <binaryMessageEncoding />
          <httpTransport />
        </binding>
        <binding name="SilverlightExampleApp.Web.Secure.ClientDataService.customBinding0">
          <binaryMessageEncoding />
          <httpTransport />
        </binding>
      </customBinding>
    </bindings>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"
      multipleSiteBindingsEnabled="true" />
    <services>
      <service name="SilverlightExampleApp.Web.Services.AuthenticationService">
        <endpoint address="" binding="customBinding" bindingConfiguration="SilverlightExampleApp.Web.Services.AuthenticationService.customBinding0"
          contract="SilverlightExampleApp.Web.Services.AuthenticationService" />
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
      </service>
      <service name="SilverlightExampleApp.Web.Services.SecureService">
        <endpoint address="" binding="customBinding" bindingConfiguration="SilverlightExampleApp.Web.Services.SecureService.customBinding0"
          contract="SilverlightExampleApp.Web.Services.SecureService" />
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
      </service>
      <service name="SilverlightExampleApp.Web.Secure.SecureService">
        <endpoint address="" binding="customBinding" bindingConfiguration="SilverlightExampleApp.Web.Secure.SecureService.customBinding0"
          contract="SilverlightExampleApp.Web.Secure.SecureService" />
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
      </service>
      <service name="SilverlightExampleApp.Web.Secure.ClientDataService">
        <endpoint address="" binding="customBinding" bindingConfiguration="SilverlightExampleApp.Web.Secure.ClientDataService.customBinding0"
          contract="SilverlightExampleApp.Web.Secure.ClientDataService" />
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
      </service>
    </services>
  </system.serviceModel>
</configuration>