web.config

<< Click to Display Table of Contents >>

EQuIS 7  >>  Configuration > App Config Files >

web.config

The file web.config is found in the folder \Program Files\EarthSoft\Enterprise7. Typically, this file only needs modification for installations that utilize LDAP authentication. Full documentation for this file may be found at Microsoft MSDN Library.

 

<?xml version="1.0" encoding="utf-8"?>

<configuration>

  <configSections>

    <section name="KalitteDashboardFramework" type="Kalitte.Dashboard.Framework.Configuration.DashboardFrameworkSection, Kalitte.Dashboard.Framework, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null" />

    <!--<section name="licenses" type="EarthSoft.Registration.Configuration.LicenseConfigurationSection, EarthSoft.Registration" />-->

  </configSections>

  <!--<licenses configSource="bin\licenses.config" />-->

  <KalitteDashboardFramework defaultProvider="EQuISDashboardProvider" editorUrl="~/WidgetEditor.aspx" customThemesDirectory="~/App_Themes/" widgetMaximizeUrl="~/WidgetMaximize.aspx" useCache="false">

    <providers>

      <clear />

      <add authorizationEnabled="false" applicationName="DashboardApp" connectionString="localhost" name="EQuISDashboardProvider" type="EarthSoft.Server.Helpers.DashboardProvider,EarthSoft.Server" />

    </providers>

  </KalitteDashboardFramework>

  <connectionStrings configSource="bin\connectionStrings.config" />

  <appSettings>

    <add key="ActiveReportsLicense" value="PERhdGFEeW5hbWljc0xpY2Vuc2UgbmFtZT0iTWF0aGV3IFdlYXZlciIgZW1haWw9Im13ZWF2ZXJAZWFydGhzb2Z0LmNvbSIgc2VyaWFsPSJERC1BUE4tNjAtRDAxMDkwOCIgaG9zdGVkPSJVMEpNUVZoSlRsUXhNelE9Ij48TGljZW5zZUtleT54OGJaN1V2WGlheitxZlRwenZCVE1VZloyanRFOGxOdzdpZDZyczB5b0ZzZG10dkJGVEV5QlhRRHYzN3AvNEd0dS9FQUpYWVB2cHZpclJmTk1tUHJCL2R0cVp5eTdUVVc8L0xpY2Vuc2VLZXk+PFNpZ25hdHVyZSB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnIyI+PFNpZ25lZEluZm8+PENhbm9uaWNhbGl6YXRpb25NZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy14bWwtYzE0bi0yMDAxMDMxNSIgLz48U2lnbmF0dXJlTWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnI3JzYS1zaGExIiAvPjxSZWZlcmVuY2UgVVJJPSIiPjxUcmFuc2Zvcm1zPjxUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjZW52ZWxvcGVkLXNpZ25hdHVyZSIgLz48L1RyYW5zZm9ybXM+PERpZ2VzdE1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyNzaGExIiAvPjxEaWdlc3RWYWx1ZT5YWjRRajdkTk8wanRUeDRkODVCUmE3by9iaFE9PC9EaWdlc3RWYWx1ZT48L1JlZmVyZW5jZT48L1NpZ25lZEluZm8+PFNpZ25hdHVyZVZhbHVlPmNsU3N0aFNmaCsrUTBSTUdjT1htWllVRjlCd0pndnRNUEJERUtsVFJNZjJyQVBuR3lyQ3JOVXhheFNnS2tsY2ZxSkdTcFVEZUg5ZFlyMFF2Z1BUYnlBPT08L1NpZ25hdHVyZVZhbHVlPjwvU2lnbmF0dXJlPjwvRGF0YUR5bmFtaWNzTGljZW5zZT4=" />

 

  </appSettings>

  <system.web>

   

    <httpModules>

      <add name="DirectRequestModule" type="Kalitte.Dashboard.Framework.Modules.RequestModule, Kalitte.Dashboard.Framework" />

    </httpModules>

    <httpHandlers>

      <add path="dashboard.axd" verb="GET,HEAD" type="Kalitte.Dashboard.Framework.Handlers.DashboardHandler" validate="false" />

      <add path="*.nls.js" verb="*" type="EarthSoft.Server.Helpers.ScriptTranslator" />

    </httpHandlers>

    <compilation debug="true" targetFramework="4.0">

      <assemblies></assemblies>

    </compilation>

    <pages theme="Blue">

      <controls>

        <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />

      </controls>

    </pages>

    <caching>

      <cache percentagePhysicalMemoryUsedLimit="50" />

      <outputCache enableOutputCache="true" sendCacheControlHeader="true" />

      <outputCacheSettings>

        <outputCacheProfiles>

          <add enabled="true" name="FacilityCache" location="Client" duration="300" varyByParam="" varyByHeader="Accept" />

        </outputCacheProfiles>

      </outputCacheSettings>      

    </caching>

    <webServices>

      <protocols>

        <add name="HttpGet"/>

        <add name="HttpPost"/>

      </protocols>

    </webServices>

    <httpRuntime executionTimeout="240" maxRequestLength="10240" maxUrlLength="2083" />    

  </system.web>

  <system.web.extensions>

    <scripting>

      <webServices>

        <!-- the maximum length of a Json string returned by a web method ( default = 102400 ) -->

        <jsonSerialization maxJsonLength="50000000" />

      </webServices>

    </scripting>

  </system.web.extensions>

  <system.webServer>

    <security>

      <requestFiltering>

        <requestLimits maxAllowedContentLength="10485760" maxUrl="2083" />

      </requestFiltering>

    </security>

    <httpCompression>

      <dynamicTypes>

        <add enabled="true" mimeType="application/json" />

      </dynamicTypes>

      <staticTypes>

        <add enabled="true" mimeType="application/json" />

      </staticTypes>

    </httpCompression>    

    <httpProtocol>

      <customHeaders>

        <add name="X-UA-Compatible" value="IE=edge" />

      </customHeaders>

    </httpProtocol>  

    <modules runAllManagedModulesForAllRequests="true">

      <remove name="DirectRequestModule" />

      <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

      <add name="DirectRequestModule" preCondition="managedHandler" type="Kalitte.Dashboard.Framework.Modules.RequestModule, Kalitte.Dashboard.Framework, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null" />

    </modules>

    <validation validateIntegratedModeConfiguration="false" />

    <handlers>

      <add name="DashboardHandler" path="dashboard.axd" verb="GET,HEAD" type="Kalitte.Dashboard.Framework.Handlers.DashboardHandler" />

      <add name="ScriptTranslator" path="*.nls.js" verb="*" type="EarthSoft.Server.Helpers.ScriptTranslator" />

    </handlers>

    <staticContent>

      <remove fileExtension=".svg" />

      <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />

      <remove fileExtension=".woff" />

      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />       

    </staticContent>

  </system.webServer>

  <system.serviceModel>

    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />

    <behaviors>

      <serviceBehaviors>

        <behavior name="">

          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />

        </behavior>

      </serviceBehaviors>

    </behaviors>

    <bindings>

      <webHttpBinding>

        <!-- This binding is used for HTTPS -->

        <binding name="SecureBinding">

          <security mode="Transport" />

        </binding>

        <!-- This binding is used for HTTP -->

        <binding name="UnsecureBinding">

          <security mode="None" />

          <!-- When using LDAP (Windows Authentication), uncomment the lines below and comment the line above -->

          <!--<security mode="TransportCredentialOnly">

            <transport clientCredentialType="Windows" />

          </security>-->

        </binding>

      </webHttpBinding>

    </bindings>

    <protocolMapping>

      <add scheme="https" binding="webHttpBinding" bindingConfiguration="SecureBinding" />

      <add scheme="http" binding="webHttpBinding" bindingConfiguration="UnsecureBinding" />

    </protocolMapping>

    <standardEndpoints>

      <webHttpEndpoint>

        <!-- 

            Configure the WCF REST service base address via the global.asax.cs file and the default endpoint 

            via the attributes on the <standardEndpoint> element below

        -->

        <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" />

      </webHttpEndpoint>

    </standardEndpoints>

  </system.serviceModel>

  <runtime>

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.Calculate.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.Chart.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.Chart.Windows" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.Core" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="syncfusion.compression.base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.DocIO.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.ExcelToPDFConverter.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.Pdf.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.PdfViewer.Windows" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.XlsIO.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Syncfusion.XlsIO.Windows" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-11.3040.0.30" newVersion="11.3040.0.30" />

      </dependentAssembly>

      <dependentAssembly>

        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />

        <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />

      </dependentAssembly>

    </assemblyBinding>

  </runtime>

</configuration>