|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<!--
|
|
|
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
|
|
https://go.microsoft.com/fwlink/?LinkId=301880
|
|
|
-->
|
|
|
<configuration>
|
|
|
<appSettings>
|
|
|
<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"/>
|
|
|
|
|
|
|
|
|
<!--微信相关的配置信息-->
|
|
|
<!--微信相关>微信oauth2授权接口地址-->
|
|
|
<add key="wxdomain" value="https://open.weixin.qq.com/connect/oauth2/authorize" />
|
|
|
<!--微信相关>微信获取accesstoken接口地址-->
|
|
|
<add key="tokendomain" value="https://api.weixin.qq.com/sns/oauth2/access_token" />
|
|
|
<!--微信相关>secret(应用密钥AppSecret)-->
|
|
|
<add key="secret" value="b5cfca4430b369561eee486556df67df" />
|
|
|
<!--微信相关>appid-->
|
|
|
<add key="appid" value="wx029d5994ace18575" />
|
|
|
<!--微信相关>redirect_uri(回调地址)-->
|
|
|
<add key="redirect_uri" value="http://www.myshipping.net/Web/wx/Views/Login/Redirect.aspx" />
|
|
|
<!--微信相关>response_type(返回类型)-->
|
|
|
<add key="response_type" value="code" />
|
|
|
<!--微信相关>scope(应用授权作用域)-->
|
|
|
<add key="scope" value="snsapi_base" />
|
|
|
<!--微信相关>state(重定向后的验证参数)-->
|
|
|
<add key="state" value="dstest" />
|
|
|
<!--微信相关>#wechat_redirect(直接在微信打开链接)-->
|
|
|
<add key="wechat_redirect" value="#wechat_redirect" />
|
|
|
<!--微信相关>#域名(直接在微信打开链接)-->
|
|
|
<add key="Domain" value="http://www.myshipping.net" />
|
|
|
<!--微信相关>模板消息->流程待审批提醒ID-->
|
|
|
<add key="TMFFSPID" value="tNqYubteybRf5PrMVG128kax5nO6xLfmi6QVw_x3Hbg" />
|
|
|
<!--微信相关>调试工具->是否启用DBLog 0:不启用 1:启用-->
|
|
|
<add key="AllowDBLog" value="1" />
|
|
|
|
|
|
<add key="PlatName" value="大简云工作平台"/>
|
|
|
</appSettings>
|
|
|
|
|
|
<connectionStrings>
|
|
|
<add name="ConStrDS" connectionString="Data Source=47.104.73.97,1433;Initial Catalog=MYSHIPPINGTEST8;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*" providerName="System.Data.SqlClient" />
|
|
|
<!--<add name="ConStrDS" connectionString="Data Source=47.104.73.97,1433;Initial Catalog=DsPingTai;Persist Security Info=True;User ID=sa;Password=Ds140101" providerName="System.Data.SqlClient" />-->
|
|
|
<add name="MYSHIPPINGTESTEntities" connectionString="metadata=res://*/Web.wx.Views.YZ.Model1.csdl|res://*/Web.wx.Views.YZ.Model1.ssdl|res://*/Web.wx.Views.YZ.Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=47.104.73.97;initial catalog=DsPingTaiTest;persist security info=True;user id=sa;password=Ds140101;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
|
|
|
</connectionStrings>
|
|
|
<system.web>
|
|
|
<compilation debug="true" targetFramework="4.5.1"/>
|
|
|
<httpRuntime targetFramework="4.5.1"/>
|
|
|
</system.web>
|
|
|
<runtime>
|
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
|
<dependentAssembly>
|
|
|
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f"/>
|
|
|
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
|
|
|
</dependentAssembly>
|
|
|
<dependentAssembly>
|
|
|
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51"/>
|
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.2.1" newVersion="4.0.2.1"/>
|
|
|
</dependentAssembly>
|
|
|
<dependentAssembly>
|
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
|
|
|
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
|
|
|
</dependentAssembly>
|
|
|
<dependentAssembly>
|
|
|
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
|
|
|
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
|
|
|
</dependentAssembly>
|
|
|
<dependentAssembly>
|
|
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
|
|
|
<bindingRedirect oldVersion="1.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
|
|
|
</dependentAssembly>
|
|
|
<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.4.0" newVersion="5.2.4.0"/>
|
|
|
</dependentAssembly>
|
|
|
</assemblyBinding>
|
|
|
</runtime>
|
|
|
<system.webServer>
|
|
|
<handlers>
|
|
|
<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" />
|
|
|
<add name="HtmlFileHandler" path="*.html" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
|
|
</handlers>
|
|
|
<modules>
|
|
|
<remove name="TelemetryCorrelationHttpModule"/>
|
|
|
<add name="TelemetryCorrelationHttpModule"
|
|
|
type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation"
|
|
|
preCondition="integratedMode,managedHandler"/>
|
|
|
</modules>
|
|
|
</system.webServer>
|
|
|
<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:6 /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:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/>
|
|
|
</compilers>
|
|
|
</system.codedom>
|
|
|
</configuration>
|