Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <section name="Website.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
- </sectionGroup>
- </configSections>
- <system.webServer>
- <security>
- <requestFiltering>
- <requestLimits maxAllowedContentLength="1073741824" maxQueryString="2097151" maxUrl="20000" />
- </requestFiltering>
- </security>
- <modules runAllManagedModulesForAllRequests="true">
- <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- </modules>
- <handlers>
- <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" />
- </handlers>
- <httpProtocol>
- <customHeaders>
- <remove name="X-Powered-By" />
- <add name="X-UA-Compatible" value="IE=8; IE=9; IE=EDGE" />
- <add name="X-Content-Security-Policy" value="img-src 'self' https://*.google.com https://maxcdn.bootstrapcdn.com https://*.google.com.au https://*.<ourwebsite>.com https://ssl.google-analytics.com https://stats.g.doubleclick.net https://*.googleapis.com https://*.gstatic.com https://*.damstra.com.au data: https://www.google-analytics.com; connect-src 'self' https://embed.doorbell.io https://sentry.io http://companyweb.damstra.com.au; font-src 'self' data: https://embed.doorbell.io https://maxcdn.bootstrapcdn.com https://*.<ourwebsite>.com; frame-src 'self' https://www.payway.com.au https://*.google.com https://companyweb.damstra.com.au https://opengate.damstra.com.au https://*.<ourwebsite>.com; media-src 'self'; object-src 'self';" />
- <add name="X-XSS-Protection" value="0" />
- <add name="Access-Control-Allow-Origin" value="*" />
- <add name="X-CONTENT-TYPE-OPTIONS" value="nosniff" />
- <add name="X-Frame-Options" value="SAMEORIGIN" />
- <add name="Strict-Transport-Security" value="max-age=31536000;" />
- </customHeaders>
- </httpProtocol>
- <urlCompression doDynamicCompression="false" doStaticCompression="true" />
- <staticContent>
- <remove fileExtension=".json" />
- <mimeMap fileExtension=".json" mimeType="application/json; charset=UTF-8" />
- </staticContent>
- <rewrite>
- <rules>
- <rule name="Rewrite rule for Touch Screen Redirect" stopProcessing="true">
- <match url=".*" />
- <conditions>
- <add input="{HTTP_URL}" pattern="/damstra/onpremises.asp*" />
- </conditions>
- <action type="Redirect" url="/onpremises.aspx" appendQueryString="true" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
- <connectionStrings>
- </connectionStrings>
- <system.web>
- <globalization requestEncoding="utf-8" responseEncoding="utf-8" enableClientBasedCulture="false" />
- <pages clientIDMode="Static">
- <namespaces>
- <add namespace="Website" />
- <add namespace="TWMSDataLibrary" />
- </namespaces>
- </pages>
- <customErrors mode="Off" />
- <compilation strict="false" explicit="true" targetFramework="4.6" debug="true">
- <assemblies>
- <add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
- <!-- <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> -->
- <add assembly="System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="System.ComponentModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
- <add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
- <add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
- <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
- <add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- </assemblies>
- </compilation>
- <httpRuntime targetFramework="4.5.2" requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="1800" maxQueryStringLength="2097151" />
- <sessionState mode="Custom" customProvider="Redis" timeout="20">
- <providers>
- <add name="Redis" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="" port="6379" accessKey="" ssl="false" retryTimeoutInMilliseconds="100" />
- </providers>
- </sessionState>
- </system.web>
- <appSettings>
- <add key="recaptchaPublicKey" value="" />
- <add key="recaptchaPrivateKey" value="" />
- <add key="recaptchaApiVersion" value="2" />
- <add key="employeeAPIService.EmployeeService" value="http://api.damstra.com.au/EmployeeService.svc" />
- <add key="au.com.damstra.api.PunchService" value="http://api.damstra.com.au/PunchService.svc" />
- <add key="au.com.damstra.api.LaborLevel" value="http://api.damstra.com.au/LaborLevel.svc" />
- <add key="au.com.damstra.api.EquipmentService" value="http://api.damstra.com.au/EquipmentService.svc" />
- <add key="au.com.damstra.api.CardControl" value="http://api.damstra.com.au/CardControl.svc" />
- <add key="PunchServiceToken" value="" />
- <add key="LaborServiceToken" value="" />
- <add key="GateToken" value="" />
- <add key="CardToken" value="" />
- <add key="JSONAPIToken" value="" />
- <add key="EmployeeServiceToken" value="" />
- <add key="PayReceiptService.InvoicerServ" value="http://companyweb.damstra.com.au/InvoicerServ.asmx" />
- </appSettings>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="StackExchange.Redis.StrongName" publicKeyToken="c219ff1ca8c2ce46" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Microsoft.IdentityModel.Logging" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-1.1.3.0" newVersion="1.1.3.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-3.6.1.0" newVersion="3.6.1.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="0.0.0.0-5.2.6.0" newVersion="5.2.6.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- <system.serviceModel>
- <bindings>
- <webHttpBinding>
- <binding maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" transferMode="Streamed">
- <security mode="Transport" />
- <readerQuotas maxDepth="64" maxArrayLength="2147483647" maxStringContentLength="2147483647" />
- </binding>
- </webHttpBinding>
- <basicHttpBinding>
- <binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferPoolSize="524288">
- <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
- </binding>
- </basicHttpBinding>
- <basicHttpsBinding>
- <binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferPoolSize="524288">
- <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
- </binding>
- </basicHttpsBinding>
- </bindings>
- <behaviors>
- <endpointBehaviors>
- <behavior name="AutomatedReportsServiceAspNetAjaxBehavior">
- <webHttp />
- </behavior>
- <behavior name="SystekCheckServiceAspNetAjaxBehavior">
- <webHttp />
- </behavior>
- <behavior name="RTOServiceAspNetAjaxBehavior">
- <webHttp />
- </behavior>
- <behavior name="TaskRemovalServiceAspNetAjaxBehavior">
- <webHttp />
- </behavior>
- <behavior name="GenerateStatisticsAspNetAjaxBehavior">
- <webHttp helpEnabled="True" />
- </behavior>
- <behavior name="PhotoServiceAspNetAjaxBehavior">
- <webHttp />
- </behavior>
- <behavior name="PersonDetailsAspNetAjaxBehavior">
- <webHttp />
- </behavior>
- <behavior name="ChatBotAspNetAjaxBehavior">
- <enableWebScript />
- </behavior>
- <behavior name="DoActionAspNetAjaxBehavior">
- <enableWebScript />
- </behavior>
- <behavior name="PaperworkServiceAspNetAjaxBehavior" />
- </endpointBehaviors>
- <serviceBehaviors>
- <behavior>
- <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
- <serviceDebug includeExceptionDetailInFaults="true" />
- </behavior>
- </serviceBehaviors>
- </behaviors>
- <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
- <services>
- <service name="Website.SystekCheck">
- <endpoint address="" behaviorConfiguration="SystekCheckServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.ISystekCheck" />
- </service>
- <service name="Website.AutomatedReportsService">
- <endpoint address="" behaviorConfiguration="AutomatedReportsServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IAutomatedReportsService" />
- </service>
- <service name="Website.RTOService">
- <endpoint address="" behaviorConfiguration="RTOServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IRTOService" />
- </service>
- <service name="Website.TaskRemovalService">
- <endpoint address="" behaviorConfiguration="TaskRemovalServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.ITaskRemoval" />
- </service>
- <service name="Website.GenerateStatistics">
- <endpoint address="" behaviorConfiguration="GenerateStatisticsAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IGenerateStatistics" />
- </service>
- <service name="Website.PersonDetails">
- <endpoint address="" behaviorConfiguration="PersonDetailsAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IPersonDetails" />
- </service>
- <service name="Website.ChatBot">
- <endpoint address="" behaviorConfiguration="ChatBotAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IChatBot" />
- </service>
- <service name="Website.DoAction">
- <endpoint address="" behaviorConfiguration="DoActionAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IDoAction" />
- </service>
- <service name="Website.PaperworkService">
- <endpoint address="" behaviorConfiguration="PaperworkServiceAspNetAjaxBehavior" binding="basicHttpsBinding" contract="Website.IPaperworkService" />
- </service>
- </services>
- </system.serviceModel>
- <system.web.extensions>
- <scripting>
- <webServices>
- <jsonSerialization maxJsonLength="2147483647" />
- </webServices>
- </scripting>
- </system.web.extensions>
- <applicationSettings>
- <Website.My.MySettings>
- <setting name="Website_EmployeeAPIService_EmployeeService" serializeAs="String">
- <value>http://api.damstra.com.au/EmployeeService.svc</value>
- </setting>
- <setting name="Website_PaperworkAPIService_PaperworkService" serializeAs="String">
- <value>http://api.damstra.com.au/PaperworkService.svc</value>
- </setting>
- <setting name="Website_LaborLevelService_LaborLevel" serializeAs="String">
- <value>http://api.damstra.com.au/LaborLevel.svc</value>
- </setting>
- <setting name="Website_PunchService_PunchService" serializeAs="String">
- <value>http://api.damstra.com.au/PunchService.svc</value>
- </setting>
- <setting name="Website_PayReceiptService_InvoicerServ" serializeAs="String">
- <value>http://companyweb.damstra.com.au/InvoicerServ.asmx</value>
- </setting>
- <setting name="TWMS_DeviceAPIService_DeviceService" serializeAs="String">
- <value>http://webservices/DeviceService.svc</value>
- </setting>
- <setting name="TWMS_WorkforceAPIService_WorkforceService" serializeAs="String">
- <value>http://webservices/WorkforceService.svc</value>
- </setting>
- <setting name="TWMS_CardControlService_CardControl" serializeAs="String">
- <value>http://api.damstra.com.au/CardControl.svc</value>
- </setting>
- <setting name="TWMS_EquipmentService_EquipmentService" serializeAs="String">
- <value>http://api.damstra.com.au/EquipmentService.svc</value>
- </setting>
- <setting name="Website_CardControlService_CardControl" serializeAs="String">
- <value>https://api.damstra.com.au/CardControl.svc</value>
- </setting>
- </Website.My.MySettings>
- </applicationSettings>
- <system.codedom>
- <compilers>
- <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
- <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
- </compilers>
- </system.codedom>
- </configuration>
- <!--ProjectGuid: 899d8e5e-b9db-4180-a1b1-a5f94c62ffac-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement