<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <!--
    <configSections>
        <sectionGroup name="jayrock">
            <sectionGroup name="jsonrpc">
                <section name="features" type="Jayrock.JsonRpc.Web.JsonRpcFeaturesSectionHandler, Jayrock" />
            </sectionGroup>
        </sectionGroup>
    </configSections>    
    -->
    <!--
    The next section defines features available to all services. The 
    features listed below are enabled by default and do not need to
    be mentioned explicitly. To disable a feature, on the other hand, 
    uncomment the section and then remove the corresponding entry
    from below (leaving in the rest).
    -->
    <!--
    <jayrock>
        <jsonrpc>
            <features>
                <add name="rpc" type="Jayrock.JsonRpc.Web.JsonRpcExecutive, Jayrock" />
                <add name="proxy" type="Jayrock.JsonRpc.Web.JsonRpcProxyGenerator, Jayrock" />
                <add name="help" type="Jayrock.JsonRpc.Web.JsonRpcHelp, Jayrock" />
                <add name="test" type="Jayrock.JsonRpc.Web.JsonRpcTester, Jayrock" />
                <add name="getrpc" type="Jayrock.JsonRpc.Web.JsonRpcGetProtocol, Jayrock" />
                <add name="pyproxy" type="Jayrock.JsonRpc.Web.JsonRpcPythonProxyGenerator, Jayrock" />
            </features>
        </jsonrpc>
    </jayrock>
    -->
    <system.diagnostics>
        <switches>
            <add name="JSON-RPC" value="4" />
        </switches>
        <trace>
            <listeners>
                <add name="JsonRpcWebTrace" type="Jayrock.JsonRpc.Web.JsonRpcWebTraceAdapter, Jayrock" />
            </listeners>
        </trace>
    </system.diagnostics>
    <system.web>
        <compilation defaultLanguage="c#" debug="true" targetFramework="4.0"/>
        <customErrors mode="RemoteOnly" />
        <authentication mode="Windows" />
        <authorization>
            <allow users="*" />
        </authorization>
        <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
        <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
        <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
        <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
    </system.web>
</configuration>
