SHARE
TWEET

coderr

a guest Aug 28th, 2018 6 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3.   <configSections>
  4.     <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
  5.       <section name="Website.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  6.     </sectionGroup>
  7.   </configSections>
  8.   <system.webServer>
  9.     <security>
  10.       <requestFiltering>
  11.         <requestLimits maxAllowedContentLength="1073741824" maxQueryString="2097151" maxUrl="20000" />
  12.       </requestFiltering>
  13.     </security>
  14.     <modules runAllManagedModulesForAllRequests="true">
  15.       <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  16.     </modules>
  17.     <handlers>
  18.       <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" />
  19.     </handlers>
  20.     <httpProtocol>
  21.       <customHeaders>
  22.         <remove name="X-Powered-By" />
  23.         <add name="X-UA-Compatible" value="IE=8; IE=9; IE=EDGE" />
  24.         <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';" />
  25.         <add name="X-XSS-Protection" value="0" />
  26.         <add name="Access-Control-Allow-Origin" value="*" />
  27.         <add name="X-CONTENT-TYPE-OPTIONS" value="nosniff" />
  28.         <add name="X-Frame-Options" value="SAMEORIGIN" />
  29.         <add name="Strict-Transport-Security" value="max-age=31536000;" />
  30.       </customHeaders>
  31.     </httpProtocol>
  32.     <urlCompression doDynamicCompression="false" doStaticCompression="true" />
  33.     <staticContent>
  34.       <remove fileExtension=".json" />
  35.       <mimeMap fileExtension=".json" mimeType="application/json; charset=UTF-8" />
  36.     </staticContent>
  37.     <rewrite>
  38.       <rules>
  39.         <rule name="Rewrite rule for Touch Screen Redirect" stopProcessing="true">
  40.           <match url=".*" />
  41.           <conditions>
  42.             <add input="{HTTP_URL}" pattern="/damstra/onpremises.asp*" />
  43.           </conditions>
  44.           <action type="Redirect" url="/onpremises.aspx" appendQueryString="true" />
  45.         </rule>
  46.       </rules>
  47.     </rewrite>
  48.   </system.webServer>
  49.   <connectionStrings>
  50.   </connectionStrings>
  51.   <system.web>
  52.     <globalization requestEncoding="utf-8" responseEncoding="utf-8" enableClientBasedCulture="false" />
  53.     <pages clientIDMode="Static">
  54.       <namespaces>
  55.         <add namespace="Website" />
  56.         <add namespace="TWMSDataLibrary" />
  57.       </namespaces>
  58.     </pages>
  59.     <customErrors mode="Off" />
  60.     <compilation strict="false" explicit="true" targetFramework="4.6" debug="true">
  61.       <assemblies>
  62.         <add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  63.         <!-- <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> -->
  64.         <add assembly="System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  65.         <add assembly="System.ComponentModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  66.         <add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  67.         <add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  68.         <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  69.         <add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  70.       </assemblies>
  71.     </compilation>
  72.     <httpRuntime targetFramework="4.5.2" requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="1800" maxQueryStringLength="2097151" />
  73.     <sessionState mode="Custom" customProvider="Redis" timeout="20">
  74.       <providers>
  75.         <add name="Redis" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="" port="6379" accessKey="" ssl="false" retryTimeoutInMilliseconds="100" />
  76.       </providers>
  77.     </sessionState>
  78.   </system.web>
  79.   <appSettings>
  80.     <add key="recaptchaPublicKey" value="" />
  81.     <add key="recaptchaPrivateKey" value="" />
  82.     <add key="recaptchaApiVersion" value="2" />
  83.     <add key="employeeAPIService.EmployeeService" value="http://api.damstra.com.au/EmployeeService.svc" />
  84.     <add key="au.com.damstra.api.PunchService" value="http://api.damstra.com.au/PunchService.svc" />
  85.     <add key="au.com.damstra.api.LaborLevel" value="http://api.damstra.com.au/LaborLevel.svc" />
  86.     <add key="au.com.damstra.api.EquipmentService" value="http://api.damstra.com.au/EquipmentService.svc" />
  87.     <add key="au.com.damstra.api.CardControl" value="http://api.damstra.com.au/CardControl.svc" />
  88.     <add key="PunchServiceToken" value="" />
  89.     <add key="LaborServiceToken" value="" />
  90.     <add key="GateToken" value="" />
  91.     <add key="CardToken" value="" />
  92.     <add key="JSONAPIToken" value="" />
  93.     <add key="EmployeeServiceToken" value="" />
  94.     <add key="PayReceiptService.InvoicerServ" value="http://companyweb.damstra.com.au/InvoicerServ.asmx" />
  95. </appSettings>
  96.   <runtime>
  97.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  98.       <dependentAssembly>
  99.         <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  100.         <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
  101.       </dependentAssembly>
  102.       <dependentAssembly>
  103.         <assemblyIdentity name="StackExchange.Redis.StrongName" publicKeyToken="c219ff1ca8c2ce46" culture="neutral" />
  104.         <bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
  105.       </dependentAssembly>
  106.       <dependentAssembly>
  107.         <assemblyIdentity name="Microsoft.IdentityModel.Logging" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  108.         <bindingRedirect oldVersion="0.0.0.0-1.1.3.0" newVersion="1.1.3.0" />
  109.       </dependentAssembly>
  110.       <dependentAssembly>
  111.         <assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
  112.         <bindingRedirect oldVersion="0.0.0.0-3.6.1.0" newVersion="3.6.1.0" />
  113.       </dependentAssembly>
  114.       <dependentAssembly>
  115.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  116.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  117.       </dependentAssembly>
  118.       <dependentAssembly>
  119.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  120.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  121.       </dependentAssembly>
  122.       <dependentAssembly>
  123.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  124.         <bindingRedirect oldVersion="0.0.0.0-5.2.6.0" newVersion="5.2.6.0" />
  125.       </dependentAssembly>
  126.     </assemblyBinding>
  127.   </runtime>
  128.   <system.serviceModel>
  129.     <bindings>
  130.       <webHttpBinding>
  131.         <binding maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" transferMode="Streamed">
  132.           <security mode="Transport" />
  133.           <readerQuotas maxDepth="64" maxArrayLength="2147483647" maxStringContentLength="2147483647" />
  134.         </binding>
  135.       </webHttpBinding>
  136.       <basicHttpBinding>
  137.         <binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferPoolSize="524288">
  138.           <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
  139.         </binding>
  140.       </basicHttpBinding>
  141.       <basicHttpsBinding>
  142.         <binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferPoolSize="524288">
  143.           <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
  144.         </binding>
  145.       </basicHttpsBinding>
  146.     </bindings>
  147.     <behaviors>
  148.       <endpointBehaviors>
  149.         <behavior name="AutomatedReportsServiceAspNetAjaxBehavior">
  150.           <webHttp />
  151.         </behavior>
  152.         <behavior name="SystekCheckServiceAspNetAjaxBehavior">
  153.           <webHttp />
  154.         </behavior>
  155.         <behavior name="RTOServiceAspNetAjaxBehavior">
  156.           <webHttp />
  157.         </behavior>
  158.         <behavior name="TaskRemovalServiceAspNetAjaxBehavior">
  159.           <webHttp />
  160.         </behavior>
  161.         <behavior name="GenerateStatisticsAspNetAjaxBehavior">
  162.           <webHttp helpEnabled="True" />
  163.         </behavior>
  164.         <behavior name="PhotoServiceAspNetAjaxBehavior">
  165.           <webHttp />
  166.         </behavior>
  167.         <behavior name="PersonDetailsAspNetAjaxBehavior">
  168.           <webHttp />
  169.         </behavior>
  170.         <behavior name="ChatBotAspNetAjaxBehavior">
  171.           <enableWebScript />
  172.         </behavior>
  173.         <behavior name="DoActionAspNetAjaxBehavior">
  174.           <enableWebScript />
  175.         </behavior>
  176.         <behavior name="PaperworkServiceAspNetAjaxBehavior" />
  177.       </endpointBehaviors>
  178.       <serviceBehaviors>
  179.         <behavior>
  180.           <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
  181.           <serviceDebug includeExceptionDetailInFaults="true" />
  182.         </behavior>
  183.       </serviceBehaviors>
  184.     </behaviors>
  185.     <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  186.     <services>
  187.       <service name="Website.SystekCheck">
  188.         <endpoint address="" behaviorConfiguration="SystekCheckServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.ISystekCheck" />
  189.       </service>
  190.       <service name="Website.AutomatedReportsService">
  191.         <endpoint address="" behaviorConfiguration="AutomatedReportsServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IAutomatedReportsService" />
  192.       </service>
  193.       <service name="Website.RTOService">
  194.         <endpoint address="" behaviorConfiguration="RTOServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IRTOService" />
  195.       </service>
  196.       <service name="Website.TaskRemovalService">
  197.         <endpoint address="" behaviorConfiguration="TaskRemovalServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.ITaskRemoval" />
  198.       </service>
  199.       <service name="Website.GenerateStatistics">
  200.         <endpoint address="" behaviorConfiguration="GenerateStatisticsAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IGenerateStatistics" />
  201.       </service>
  202.       <service name="Website.PersonDetails">
  203.         <endpoint address="" behaviorConfiguration="PersonDetailsAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IPersonDetails" />
  204.       </service>
  205.       <service name="Website.ChatBot">
  206.         <endpoint address="" behaviorConfiguration="ChatBotAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IChatBot" />
  207.       </service>
  208.       <service name="Website.DoAction">
  209.         <endpoint address="" behaviorConfiguration="DoActionAspNetAjaxBehavior" binding="webHttpBinding" contract="Website.IDoAction" />
  210.       </service>
  211.       <service name="Website.PaperworkService">
  212.         <endpoint address="" behaviorConfiguration="PaperworkServiceAspNetAjaxBehavior" binding="basicHttpsBinding" contract="Website.IPaperworkService" />
  213.       </service>
  214.     </services>
  215.   </system.serviceModel>
  216.   <system.web.extensions>
  217.     <scripting>
  218.       <webServices>
  219.         <jsonSerialization maxJsonLength="2147483647" />
  220.       </webServices>
  221.     </scripting>
  222.   </system.web.extensions>
  223.   <applicationSettings>
  224.     <Website.My.MySettings>
  225.       <setting name="Website_EmployeeAPIService_EmployeeService" serializeAs="String">
  226.         <value>http://api.damstra.com.au/EmployeeService.svc</value>
  227.       </setting>
  228.       <setting name="Website_PaperworkAPIService_PaperworkService" serializeAs="String">
  229.         <value>http://api.damstra.com.au/PaperworkService.svc</value>
  230.       </setting>
  231.       <setting name="Website_LaborLevelService_LaborLevel" serializeAs="String">
  232.         <value>http://api.damstra.com.au/LaborLevel.svc</value>
  233.       </setting>
  234.       <setting name="Website_PunchService_PunchService" serializeAs="String">
  235.         <value>http://api.damstra.com.au/PunchService.svc</value>
  236.       </setting>
  237.       <setting name="Website_PayReceiptService_InvoicerServ" serializeAs="String">
  238.         <value>http://companyweb.damstra.com.au/InvoicerServ.asmx</value>
  239.       </setting>
  240.       <setting name="TWMS_DeviceAPIService_DeviceService" serializeAs="String">
  241.         <value>http://webservices/DeviceService.svc</value>
  242.       </setting>
  243.       <setting name="TWMS_WorkforceAPIService_WorkforceService" serializeAs="String">
  244.         <value>http://webservices/WorkforceService.svc</value>
  245.       </setting>
  246.       <setting name="TWMS_CardControlService_CardControl" serializeAs="String">
  247.         <value>http://api.damstra.com.au/CardControl.svc</value>
  248.       </setting>
  249.       <setting name="TWMS_EquipmentService_EquipmentService" serializeAs="String">
  250.         <value>http://api.damstra.com.au/EquipmentService.svc</value>
  251.       </setting>
  252.       <setting name="Website_CardControlService_CardControl" serializeAs="String">
  253.         <value>https://api.damstra.com.au/CardControl.svc</value>
  254.       </setting>
  255.     </Website.My.MySettings>
  256.   </applicationSettings>
  257.   <system.codedom>
  258.     <compilers>
  259.       <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" />
  260.       <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=\&quot;Web\&quot; /optionInfer+" />
  261.     </compilers>
  262.   </system.codedom>
  263. </configuration>
  264. <!--ProjectGuid: 899d8e5e-b9db-4180-a1b1-a5f94c62ffac-->
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top