Geen omschrijving

Web.config 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?xml version="1.0"?>
  2. <!--
  3. For more information on how to configure your ASP.NET application, please visit
  4. http://go.microsoft.com/fwlink/?LinkId=301880
  5. -->
  6. <configuration>
  7. <configSections>
  8. <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
  9. <section name="CallCenterApi.Interface.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
  10. </sectionGroup>
  11. </configSections>
  12. <appSettings>
  13. <add key="webpages:Version" value="3.0.0.0"/>
  14. <add key="webpages:Enabled" value="false"/>
  15. <add key="ClientValidationEnabled" value="true"/>
  16. <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
  17. <add key="DESKey" value="123456789"/>
  18. <!--中鑫之宝短信配置-->
  19. <add key="smsurl" value="http://api.1086sms.com/api/"/>
  20. <add key="smsusername" value="zxzb"/>
  21. <add key="smspassword" value="zxzb123"/>
  22. <add key="smssign" value="中鑫之宝"/>
  23. </appSettings>
  24. <connectionStrings>
  25. <!--<add name="ConnectionString" connectionString="Data Source=192.168.4.18;User ID=sa;pwd=800100;Initial Catalog=SQ12345;"/>-->
  26. <!--<add name="ConnectionString" connectionString="Data Source=192.168.8.3;User ID=sa;pwd=800100;Initial Catalog=SQ12345;"/>-->
  27. <add name="ConnectionString" connectionString="Data Source=192.168.8.3;User ID=sa;pwd=800100;Initial Catalog=Gongyi_12345;"/>
  28. </connectionStrings>
  29. <!--
  30. 有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
  31. 可在 <httpRuntime> 标记上设置以下特性。
  32. <system.Web>
  33. <httpRuntime targetFramework="4.5" />
  34. </system.Web>
  35. -->
  36. <system.web>
  37. <compilation debug="true" targetFramework="4.6.1"/>
  38. <httpRuntime maxRequestLength="20971520" executionTimeout="3600"/>
  39. <httpModules>
  40. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web"/>
  41. </httpModules>
  42. <authentication>
  43. <forms name=".MyCookie" cookieless="UseCookies" loginUrl="/Login/login" protection="All" timeout="60"/>
  44. </authentication>
  45. <pages controlRenderingCompatibilityVersion="4.0"/>
  46. </system.web>
  47. <runtime>
  48. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  49. <dependentAssembly>
  50. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
  51. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  52. </dependentAssembly>
  53. <dependentAssembly>
  54. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
  55. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  56. </dependentAssembly>
  57. <dependentAssembly>
  58. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
  59. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
  60. </dependentAssembly>
  61. </assemblyBinding>
  62. </runtime>
  63. <system.codedom>
  64. <compilers>
  65. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
  66. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
  67. </compilers>
  68. </system.codedom>
  69. <system.webServer>
  70. <staticContent>
  71. <mimeMap fileExtension=".apk" mimeType="application/vnd.android.package-archive"/>
  72. </staticContent>
  73. <!--cors 支持跨域 clq新增 strat-->
  74. <httpProtocol>
  75. <customHeaders>
  76. <add name="Access-Control-Allow-Origin" value="*"/>
  77. <add name="Access-Control-Allow-Headers" value="Content-Type"/>
  78. <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS"/>
  79. </customHeaders>
  80. </httpProtocol>
  81. <!--cors 支持跨域 end-->
  82. <validation validateIntegratedModeConfiguration="false"/>
  83. <modules>
  84. <remove name="ApplicationInsightsWebTracking"/>
  85. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler"/>
  86. </modules>
  87. </system.webServer>
  88. <applicationSettings>
  89. <CallCenterApi.Interface.Properties.Settings>
  90. <setting name="CallCenterApi_Interface_WebReference_Service1" serializeAs="String">
  91. <value>http://120.194.198.148:83/CapturePhoto.asmx</value>
  92. </setting>
  93. </CallCenterApi.Interface.Properties.Settings>
  94. </applicationSettings>
  95. </configuration>