|
|
@@ -1,75 +1,83 @@
|
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<?xml version="1.0"?>
|
|
|
<!--
|
|
|
For more information on how to configure your ASP.NET application, please visit
|
|
|
http://go.microsoft.com/fwlink/?LinkId=301880
|
|
|
-->
|
|
|
<configuration>
|
|
|
- <configSections>
|
|
|
- <!--配置log4net节点-->
|
|
|
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
|
|
- <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
|
|
- <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
|
|
- <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
|
|
- </configSections>
|
|
|
- <entityFramework>
|
|
|
- <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
|
|
|
- <providers>
|
|
|
- <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
|
|
- </providers>
|
|
|
- </entityFramework>
|
|
|
- <log4net>
|
|
|
- <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
- <!--定义文件存放位置-->
|
|
|
- <file value="C:\\Logs\\YZXYH2017\\" />
|
|
|
- <appendToFile value="true" />
|
|
|
- <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
|
|
- <Encoding value="UTF-8" />
|
|
|
- <rollingStyle value="Date" />
|
|
|
- <datePattern value="yyyyMMdd'.txt'" />
|
|
|
- <param name="maximumFileSize" value="500KB" />
|
|
|
- <staticLogFileName value="false" />
|
|
|
- <param name="MaxSizeRollBackups" value="100" />
|
|
|
- <layout type="log4net.Layout.PatternLayout">
|
|
|
- <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
|
|
|
- </layout>
|
|
|
- </appender>
|
|
|
- <root>
|
|
|
- <level value="INFO" />
|
|
|
- <!--文件形式记录日志-->
|
|
|
- <appender-ref ref="RollingLogFileAppender" />
|
|
|
- </root>
|
|
|
- </log4net>
|
|
|
- <appSettings>
|
|
|
- <add key="AliMsgUrlCode" value="http://www.shvber.com:5081/AliyunMsg/Code" />
|
|
|
- <add key="AliMsgUrlMsg" value="http://www.shvber.com:5081/AliyunMsg/Msg" />
|
|
|
- <add key="UserInfoSession" value="YZXYHQWERREWQ" />
|
|
|
- <add key="SysUserInfoSession" value="YZXYHQWERTTREWQ" />
|
|
|
- <add key="SysUserInfoCookie" value="YZXYHQWERTYTREWQ" />
|
|
|
- <add key="SysUserDefaultPwd" value="QQQqqq" />
|
|
|
- <add key="WeChat.AppId" value="wx904caa77de2359ba" />
|
|
|
- <add key="WeChat.AppSecret" value="70a3c3720627b2c97fb37dafd92515df" />
|
|
|
- <add key="WeChat.RedirectUrl" value="http://www.shvber.com" />
|
|
|
- <add key="UserDefaultPwd" value="QWEqwe" />
|
|
|
- <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" />
|
|
|
- <add key="AssemblyName" value="YZXYH.Repository.dll" />
|
|
|
- <add key="NameSpace" value="YZXYH.Repository.Models" />
|
|
|
- </appSettings>
|
|
|
- <system.web>
|
|
|
- <!--<compilation debug="true" targetFramework="4.5.2" />
|
|
|
+ <configSections>
|
|
|
+ <!--配置log4net节点-->
|
|
|
+ <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
|
|
+ <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
|
|
+ <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
|
|
|
+ <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
|
|
+ </configSections>
|
|
|
+ <entityFramework>
|
|
|
+ <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
|
|
|
+ <providers>
|
|
|
+ <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
|
|
|
+ </providers>
|
|
|
+ </entityFramework>
|
|
|
+ <log4net>
|
|
|
+ <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
+ <!--定义文件存放位置-->
|
|
|
+ <file value="C:\\Logs\\YZXYH2017\\"/>
|
|
|
+ <appendToFile value="true"/>
|
|
|
+ <lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
|
|
|
+ <Encoding value="UTF-8"/>
|
|
|
+ <rollingStyle value="Date"/>
|
|
|
+ <datePattern value="yyyyMMdd'.txt'"/>
|
|
|
+ <param name="maximumFileSize" value="500KB"/>
|
|
|
+ <staticLogFileName value="false"/>
|
|
|
+ <param name="MaxSizeRollBackups" value="100"/>
|
|
|
+ <layout type="log4net.Layout.PatternLayout">
|
|
|
+ <conversionPattern value="%date [%thread] %-5level %logger - %message%newline"/>
|
|
|
+ </layout>
|
|
|
+ </appender>
|
|
|
+ <root>
|
|
|
+ <level value="INFO"/>
|
|
|
+ <!--文件形式记录日志-->
|
|
|
+ <appender-ref ref="RollingLogFileAppender"/>
|
|
|
+ </root>
|
|
|
+ </log4net>
|
|
|
+ <appSettings>
|
|
|
+ <add key="AliMsgUrlCode" value="http://www.shvber.com:5081/AliyunMsg/Code"/>
|
|
|
+ <add key="AliMsgUrlMsg" value="http://www.shvber.com:5081/AliyunMsg/Msg"/>
|
|
|
+ <add key="UserInfoSession" value="YZXYHQWERREWQ"/>
|
|
|
+ <add key="SysUserInfoSession" value="YZXYHQWERTTREWQ"/>
|
|
|
+ <add key="SysUserInfoCookie" value="YZXYHQWERTYTREWQ"/>
|
|
|
+ <add key="SysUserDefaultPwd" value="QQQqqq"/>
|
|
|
+ <add key="WeChat.AppId" value="wx904caa77de2359ba"/>
|
|
|
+ <add key="WeChat.AppSecret" value="70a3c3720627b2c97fb37dafd92515df"/>
|
|
|
+ <add key="WeChat.RedirectUrl" value="http://www.shvber.com"/>
|
|
|
+ <add key="UserDefaultPwd" value="QWEqwe"/>
|
|
|
+ <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"/>
|
|
|
+ <add key="AssemblyName" value="YZXYH.Repository.dll"/>
|
|
|
+ <add key="NameSpace" value="YZXYH.Repository.Models"/>
|
|
|
+ </appSettings>
|
|
|
+ <!--
|
|
|
+ 有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
|
|
+
|
|
|
+ 可在 <httpRuntime> 标记上设置以下特性。
|
|
|
+ <system.Web>
|
|
|
+ <httpRuntime targetFramework="4.8" />
|
|
|
+ </system.Web>
|
|
|
+ -->
|
|
|
+ <system.web>
|
|
|
+ <!--<compilation debug="true" targetFramework="4.5.2" />
|
|
|
<httpRuntime targetFramework="4.5.2" />-->
|
|
|
- <compilation debug="true" />
|
|
|
- <httpRuntime maxRequestLength="102400" />
|
|
|
- <!--RemoteOnly-->
|
|
|
- <customErrors mode="On" defaultRedirect="/Error/E500">
|
|
|
- <error statusCode="404" redirect="/Error/E404" />
|
|
|
- <error statusCode="500" redirect="/Error/E500" />
|
|
|
- </customErrors>
|
|
|
- <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" culture="zh-CN" fileEncoding="UTF-8" />
|
|
|
- </system.web>
|
|
|
- <!--<system.webServer>
|
|
|
+ <compilation debug="true" targetFramework="4.8"/>
|
|
|
+ <httpRuntime maxRequestLength="102400"/>
|
|
|
+ <!--RemoteOnly-->
|
|
|
+ <customErrors mode="On" defaultRedirect="/Error/E500">
|
|
|
+ <error statusCode="404" redirect="/Error/E404"/>
|
|
|
+ <error statusCode="500" redirect="/Error/E500"/>
|
|
|
+ </customErrors>
|
|
|
+ <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" culture="zh-CN" fileEncoding="UTF-8"/>
|
|
|
+ </system.web>
|
|
|
+ <!--<system.webServer>
|
|
|
<httpErrors errorMode="DetailedLocalOnly">
|
|
|
<remove statusCode="404" />
|
|
|
<error statusCode="404" path="/View/Error/404.html" responseMode="File" />
|
|
|
@@ -77,51 +85,51 @@
|
|
|
<error statusCode="500" path="/View/Error/500.html" responseMode="File" />
|
|
|
</httpErrors>
|
|
|
</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="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
|
|
- </dependentAssembly>
|
|
|
- <dependentAssembly>
|
|
|
- <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
|
|
- <bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" />
|
|
|
- </dependentAssembly>
|
|
|
- <dependentAssembly>
|
|
|
- <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
|
- <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.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=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
|
|
|
- <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=\"Web\" /optionInfer+" />
|
|
|
- </compilers>
|
|
|
- </system.codedom>
|
|
|
- <system.serviceModel>
|
|
|
- <bindings>
|
|
|
- <basicHttpBinding>
|
|
|
- <binding name="SmsWebservicesSoap">
|
|
|
- <security mode="Transport" />
|
|
|
- </binding>
|
|
|
- <binding name="SmsWebservicesSoap1" />
|
|
|
- <binding name="SmsWebservicesSoap2">
|
|
|
- <security mode="Transport" />
|
|
|
- </binding>
|
|
|
- <binding name="SmsWebservicesSoap3" />
|
|
|
- </basicHttpBinding>
|
|
|
- </bindings>
|
|
|
- <client>
|
|
|
- <endpoint address="https://www.shvber.com:8082/SmsWebservices.asmx" binding="basicHttpBinding" bindingConfiguration="SmsWebservicesSoap" contract="SmsService.SmsWebservicesSoap" name="SmsWebservicesSoap" />
|
|
|
- </client>
|
|
|
- </system.serviceModel>
|
|
|
+ <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="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
|
|
|
+ </dependentAssembly>
|
|
|
+ <dependentAssembly>
|
|
|
+ <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
|
|
|
+ <bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0"/>
|
|
|
+ </dependentAssembly>
|
|
|
+ <dependentAssembly>
|
|
|
+ <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
|
|
|
+ <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.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=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
|
|
|
+ <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=\"Web\" /optionInfer+"/>
|
|
|
+ </compilers>
|
|
|
+ </system.codedom>
|
|
|
+ <system.serviceModel>
|
|
|
+ <bindings>
|
|
|
+ <basicHttpBinding>
|
|
|
+ <binding name="SmsWebservicesSoap">
|
|
|
+ <security mode="Transport"/>
|
|
|
+ </binding>
|
|
|
+ <binding name="SmsWebservicesSoap1"/>
|
|
|
+ <binding name="SmsWebservicesSoap2">
|
|
|
+ <security mode="Transport"/>
|
|
|
+ </binding>
|
|
|
+ <binding name="SmsWebservicesSoap3"/>
|
|
|
+ </basicHttpBinding>
|
|
|
+ </bindings>
|
|
|
+ <client>
|
|
|
+ <endpoint address="https://www.shvber.com:8082/SmsWebservices.asmx" binding="basicHttpBinding" bindingConfiguration="SmsWebservicesSoap" contract="SmsService.SmsWebservicesSoap" name="SmsWebservicesSoap"/>
|
|
|
+ </client>
|
|
|
+ </system.serviceModel>
|
|
|
</configuration>
|