<configuration>
    <!-- to get session for web services -->
    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true">
        </modules>
    </system.webServer>
    <!-- WCF & WCF with HTTP session -->
    <!--
    <system.serviceModel>
        <services>
            <service name="WS.WCF.RepoService">
                <endpoint binding="webHttpBinding" contract="WS.WCF.IRepoService" behaviorConfiguration="ws"/>
            </service>
            <service name="WS.WCF.RepoServiceHttpSession">
                <endpoint binding="webHttpBinding" contract="WS.WCF.IRepoService" behaviorConfiguration="ws"/>
            </service>
        </services>
        <behaviors>
            <endpointBehaviors>
                <behavior name="ws">
                    <webHttp/>
                </behavior>
            </endpointBehaviors>
        </behaviors>
    </system.serviceModel> 
    -->
    <!-- WCF with HTTP header -->
    <!--
    <system.serviceModel>
        <services>
            <service name="WS.WCF.RepoServiceHttpHeader">
                <endpoint binding="webHttpBinding" contract="WS.WCF.IRepoService" behaviorConfiguration="ws"/>
            </service>
        </services>
        <behaviors>
            <endpointBehaviors>
                <behavior name="ws">
                    <webHttp/>
                </behavior>
            </endpointBehaviors>
        </behaviors>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
    </system.serviceModel> 
    -->
</configuration>
