123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- 有关如何配置 ASP.NET 应用程序的详细信息,请访问
- https://go.microsoft.com/fwlink/?LinkId=301880
- -->
- <configuration>
- <connectionStrings>
- <add name="mysql" connectionString="Server=60.212.16.249;Uid=root;Pwd={cp55128-mysql-kjh-@2019};Connection Timeout=2880000;Database=cp55128;Port=3306;SslMode=none;CharSet=utf8;Convert Zero Datetime=True;Allow Zero Datetime=True" providerName="MySql.Data.MySqlClient" />
- </connectionStrings>
- <appSettings>
- <!--api开奖号缓存清理接口-->
- <add key="api55128" value="http://60.212.16.249" />
- <add key="ApiKey" value="{APIKEY-api.55128.cn-kjh.opencode.new}" />
- <add key="webpages:Version" value="3.0.0.0" />
- <add key="webpages:Enabled" value="false" />
- <add key="ClientValidationEnabled" value="true" />
- <add key="UnobtrusiveJavaScriptEnabled" value="true" />
- <!--zx.55128.cn相关配置-->
- <add key="ZxUrl" value="http://60.212.16.247:8080/api/" />
- <add key="ZxCode" value="ZX" />
- <add key="RouteXml" value="/ConfigXml/Route.xml" />
- <add key="HomeRouteXml" value="/ConfigXml/HomeRoute.xml" />
- <add key="WhatXml" value="/ConfigXml/What.xml" />
- <add key="NewsXml" value="/ConfigXml/News.xml" />
- <add key="Route_NewToOldXml" value="/ConfigXml/Route_NewToOld.xml" />
- <add key="HkXml" value="/ConfigXml/Hk.xml" />
- </appSettings>
- <system.web>
- <compilation debug="true" targetFramework="4.6.1" />
- <httpRuntime targetFramework="4.6.1" />
- <httpModules>
- <add name="TelemetryCorrelationHttpModule" type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation" />
- <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
- </httpModules>
- </system.web>
- <system.webServer>
- <handlers>
- <add name="hh" verb="GET,HEAD" path="*.*" type="System.Web.StaticFileHandler" />
- <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
- <remove name="OPTIONSVerbHandler" />
- <remove name="TRACEVerbHandler" />
- <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
- </handlers>
- <validation validateIntegratedModeConfiguration="false" />
- <modules>
- <remove name="ApplicationInsightsWebTracking" />
- <remove name="TelemetryCorrelationHttpModule" />
- <add name="TelemetryCorrelationHttpModule" type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation" preCondition="managedHandler" />
- <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
- </modules>
- <!--<httpErrors errorMode="Custom">
- <remove statusCode="404" subStatusCode="-1" />
- <error statusCode="404" prefixLanguageFilePath="" path="/error/404/" responseMode="ExecuteURL" />
- <remove statusCode="500" subStatusCode="-1" />
- <error statusCode="500" prefixLanguageFilePath="" path="/error/500/" responseMode="ExecuteURL" />
- </httpErrors>-->
- <!--<rewrite>
- <rules>
- <rule name="HTTP to HTTPS redirect" stopProcessing="true">
- <match url="(.*)" />
- <conditions>
- <add input="{HTTPS}" pattern="off" ignoreCase="true" />
- </conditions>
- <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
- </rule>
- </rules>
- </rewrite>-->
- </system.webServer>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <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.4.0" newVersion="5.2.4.0" />
- </dependentAssembly>
- <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="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-1.2.11.0" newVersion="1.2.11.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- <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>
|