Web.config 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. 有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <configSections>
  8. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
  9. </configSections>
  10. <log4net>
  11. <appender name="RollingLog" type="log4net.Appender.RollingFileAppender">
  12. <!--定义文件存放位置-->
  13. <file value="C:\\Logs\\GSMarketSys\\GSMarketSys\\" />
  14. <appendToFile value="true" />
  15. <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
  16. <Encoding value="UTF-8" />
  17. <rollingStyle value="Date" />
  18. <datePattern value="yyyyMMdd'.txt'" />
  19. <param name="maximumFileSize" value="500KB" />
  20. <staticLogFileName value="false" />
  21. <param name="MaxSizeRollBackups" value="30" />
  22. <layout type="log4net.Layout.PatternLayout">
  23. <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
  24. </layout>
  25. <!--<filter type="log4net.Filter.LevelRangeFilter">
  26. <param name="LevelMin" value="ERROR" />
  27. <param name="LevelMax" value="FATAL" />
  28. </filter>-->
  29. </appender>
  30. <appender name="ErrorLog" type="log4net.Appender.RollingFileAppender">
  31. <!--定义文件存放位置-->
  32. <file value="C:\\Logs\\GSMarketSys\\GSMarketSys\\Log\\" />
  33. <appendToFile value="true" />
  34. <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
  35. <Encoding value="UTF-8" />
  36. <rollingStyle value="Date" />
  37. <datePattern value="yyyyMMdd\\E_HH'.txt'" />
  38. <param name="maximumFileSize" value="500KB" />
  39. <staticLogFileName value="false" />
  40. <param name="MaxSizeRollBackups" value="100" />
  41. <layout type="log4net.Layout.PatternLayout">
  42. <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
  43. </layout>
  44. <filter type="log4net.Filter.LevelRangeFilter">
  45. <param name="LevelMin" value="ERROR" />
  46. <param name="LevelMax" value="FATAL" />
  47. </filter>
  48. </appender>
  49. <appender name="InfoLog" type="log4net.Appender.RollingFileAppender">
  50. <!--定义文件存放位置-->
  51. <file value="C:\\Logs\\GSMarketSys\\GSMarketSys\\Log\\" />
  52. <appendToFile value="true" />
  53. <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
  54. <Encoding value="UTF-8" />
  55. <rollingStyle value="Date" />
  56. <datePattern value="yyyyMMdd\\I_HH'.txt'" />
  57. <param name="maximumFileSize" value="500KB" />
  58. <staticLogFileName value="false" />
  59. <param name="MaxSizeRollBackups" value="100" />
  60. <layout type="log4net.Layout.PatternLayout">
  61. <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
  62. </layout>
  63. <filter type="log4net.Filter.LevelRangeFilter">
  64. <param name="LevelMin" value="INFO" />
  65. <param name="LevelMax" value="INFO" />
  66. </filter>
  67. </appender>
  68. <appender name="DebugLog" type="log4net.Appender.RollingFileAppender">
  69. <!--定义文件存放位置-->
  70. <file value="C:\\Logs\\GSMarketSys\\GSMarketSys\\Log\\" />
  71. <appendToFile value="true" />
  72. <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
  73. <Encoding value="UTF-8" />
  74. <rollingStyle value="Date" />
  75. <datePattern value="yyyyMMdd\\D_HH'.txt'" />
  76. <param name="maximumFileSize" value="500KB" />
  77. <staticLogFileName value="false" />
  78. <param name="MaxSizeRollBackups" value="100" />
  79. <layout type="log4net.Layout.PatternLayout">
  80. <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
  81. </layout>
  82. <filter type="log4net.Filter.LevelRangeFilter">
  83. <param name="LevelMin" value="DEBUG" />
  84. <param name="LevelMax" value="DEBUG" />
  85. </filter>
  86. </appender>
  87. <root>
  88. <level value="All" />
  89. <appender-ref ref="RollingLog" />
  90. <appender-ref ref="ErrorLog" />
  91. <appender-ref ref="InfoLog" />
  92. <appender-ref ref="DebugLog" />
  93. </root>
  94. </log4net>
  95. <appSettings>
  96. <add key="webpages:Version" value="3.0.0.0" />
  97. <add key="webpages:Enabled" value="false" />
  98. <add key="PreserveLoginUrl" value="true" />
  99. <add key="ClientValidationEnabled" value="true" />
  100. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  101. </appSettings>
  102. <system.web>
  103. <compilation targetFramework="4.5.2" />
  104. <httpRuntime targetFramework="4.5.2" requestValidationMode="2.0" />
  105. <pages>
  106. <namespaces>
  107. <add namespace="System.Web.Helpers" />
  108. <add namespace="System.Web.Mvc" />
  109. <add namespace="System.Web.Mvc.Ajax" />
  110. <add namespace="System.Web.Mvc.Html" />
  111. <add namespace="System.Web.Routing" />
  112. <add namespace="System.Web.WebPages" />
  113. </namespaces>
  114. </pages>
  115. <httpModules>
  116. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  117. </httpModules>
  118. </system.web>
  119. <system.webServer>
  120. <validation validateIntegratedModeConfiguration="false" />
  121. <modules>
  122. <remove name="ApplicationInsightsWebTracking" />
  123. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  124. </modules>
  125. <handlers>
  126. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  127. <remove name="OPTIONSVerbHandler" />
  128. <remove name="TRACEVerbHandler" />
  129. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  130. </handlers>
  131. </system.webServer>
  132. <runtime>
  133. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  134. <dependentAssembly>
  135. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral" />
  136. <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="11.0.0.0" />
  137. </dependentAssembly>
  138. <dependentAssembly>
  139. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  140. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  141. </dependentAssembly>
  142. <dependentAssembly>
  143. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  144. <bindingRedirect oldVersion="1.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
  145. </dependentAssembly>
  146. <dependentAssembly>
  147. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  148. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  149. </dependentAssembly>
  150. <dependentAssembly>
  151. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  152. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  153. </dependentAssembly>
  154. <dependentAssembly>
  155. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  156. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  157. </dependentAssembly>
  158. <dependentAssembly>
  159. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  160. <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
  161. </dependentAssembly>
  162. </assemblyBinding>
  163. </runtime>
  164. <system.codedom>
  165. <compilers>
  166. <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" />
  167. <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+" />
  168. </compilers>
  169. </system.codedom>
  170. <system.serviceModel>
  171. <bindings>
  172. <basicHttpBinding>
  173. <binding name="ComplaintsServiceSoap" />
  174. <binding name="DataDicWSSoap" />
  175. <binding name="InformationExchangeSoap" />
  176. <binding name="MessagaPlatSoap" />
  177. <binding name="PlatDataQuerySoap" />
  178. <binding name="RightsServiceSSOSoap" />
  179. <binding name="RightsWSSoap" />
  180. <binding name="SubSysLoginSoap" />
  181. <binding name="SubSysLogoutSoap" />
  182. <binding name="SubSysUserManageSoap" />
  183. <binding name="TraceWebServiceSoap" />
  184. <binding name="sDataInfraceSoap" />
  185. </basicHttpBinding>
  186. </bindings>
  187. <client>
  188. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/ComplaintsService.asmx" binding="basicHttpBinding" bindingConfiguration="ComplaintsServiceSoap" contract="nsComplaintsService.ComplaintsServiceSoap" name="ComplaintsServiceSoap" />
  189. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/DataDicWS.asmx" binding="basicHttpBinding" bindingConfiguration="DataDicWSSoap" contract="nsDataDicWS.DataDicWSSoap" name="DataDicWSSoap" />
  190. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/InformationExchange.asmx" binding="basicHttpBinding" bindingConfiguration="InformationExchangeSoap" contract="nsInformationExchange.InformationExchangeSoap" name="InformationExchangeSoap" />
  191. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/MessagaPlat.asmx" binding="basicHttpBinding" bindingConfiguration="MessagaPlatSoap" contract="nsMessagePlat.MessagaPlatSoap" name="MessagaPlatSoap" />
  192. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/PlatDataQuery.asmx" binding="basicHttpBinding" bindingConfiguration="PlatDataQuerySoap" contract="nsPlatDataQuery.PlatDataQuerySoap" name="PlatDataQuerySoap" />
  193. <endpoint address="http://spjg.sipac.gov.cn/SPJGRightsWeb/RightsServiceSSO.asmx" binding="basicHttpBinding" bindingConfiguration="RightsServiceSSOSoap" contract="nsRightsServiceSSO.RightsServiceSSOSoap" name="RightsServiceSSOSoap" />
  194. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/RightsWS.asmx" binding="basicHttpBinding" bindingConfiguration="RightsWSSoap" contract="nsRightsWS.RightsWSSoap" name="RightsWSSoap" />
  195. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/SubSysLogin.asmx" binding="basicHttpBinding" bindingConfiguration="SubSysLoginSoap" contract="nsSubSysLogin.SubSysLoginSoap" name="SubSysLoginSoap" />
  196. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/SubSysLogout.asmx" binding="basicHttpBinding" bindingConfiguration="SubSysLogoutSoap" contract="nsSubSysLogout.SubSysLogoutSoap" name="SubSysLogoutSoap" />
  197. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/SubSysUserManage.asmx" binding="basicHttpBinding" bindingConfiguration="SubSysUserManageSoap" contract="nsSubSysUserManage.SubSysUserManageSoap" name="SubSysUserManageSoap" />
  198. <endpoint address="http://spjg.sipac.gov.cn/SPJGService/TraceWebService.asmx" binding="basicHttpBinding" bindingConfiguration="TraceWebServiceSoap" contract="nsTraceWebService.TraceWebServiceSoap" name="TraceWebServiceSoap" />
  199. <endpoint address="http://ncp.szscgl.com:9000/Interface/sDataInfrace.asmx" binding="basicHttpBinding" bindingConfiguration="sDataInfraceSoap" contract="sDataInfraceSoap.sDataInfraceSoap" name="sDataInfraceSoap" />
  200. </client>
  201. </system.serviceModel>
  202. </configuration>
  203. <!--ProjectGuid: FEEF951C-6B8E-49D4-8C20-CFAB40D740B2-->