|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<!--
|
|
|
|
|
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
|
|
|
|
https://go.microsoft.com/fwlink/?LinkId=301880
|
|
|
|
|
-->
|
|
|
|
|
<configuration>
|
|
|
|
|
<configSections>
|
|
|
|
|
<!-- 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" />
|
|
|
|
|
</configSections>
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
<!-- 从东胜7查询费用信息,用户加密解密的秘钥 -->
|
|
|
|
|
<add key="dispatchApiEncryptKey" value="04933CB656CC" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 管理员账号 -->
|
|
|
|
|
<add key="managerId" value="20b4420a-7d62-4f71-96c8-fbedd318de87" />
|
|
|
|
|
|
|
|
|
|
</appSettings>
|
|
|
|
|
<connectionStrings>
|
|
|
|
|
<!--
|
|
|
|
|
<add name="BookingDB" connectionString="Server=ds-hxt;Database=Booking;User ID=sa;Password=ds20040201;" providerName="System.Data.SqlClient" />
|
|
|
|
|
-->
|
|
|
|
|
<!-- 鑫联运 -->
|
|
|
|
|
<add name="BookingDB" connectionString="Server=120.46.148.59,12356;Database=Booking;User ID=qdxly;Password=Ds20040201;" providerName="System.Data.SqlClient" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</connectionStrings>
|
|
|
|
|
<system.web>
|
|
|
|
|
<compilation debug="true" targetFramework="4.5.1" />
|
|
|
|
|
<httpRuntime targetFramework="4.5.1" />
|
|
|
|
|
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="60" />
|
|
|
|
|
<identity impersonate="false" />
|
|
|
|
|
<authentication mode="Forms" />
|
|
|
|
|
</system.web>
|
|
|
|
|
<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>
|
|
|
|
|
<httpProtocol>
|
|
|
|
|
<customHeaders>
|
|
|
|
|
<add name="Access-Control-Allow-Origin" value="*" />
|
|
|
|
|
<add name="Access-Control-Allow-Headers" value="Content-Type,Accept" />
|
|
|
|
|
<add name="Access-Control-Allow-Methods" value="POST" />
|
|
|
|
|
</customHeaders>
|
|
|
|
|
</httpProtocol>
|
|
|
|
|
</system.webServer>
|
|
|
|
|
<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="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
|
|
|
|
|
</dependentAssembly>
|
|
|
|
|
<dependentAssembly>
|
|
|
|
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
|
|
|
|
</dependentAssembly>
|
|
|
|
|
<dependentAssembly>
|
|
|
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
|
|
|
|
</dependentAssembly>
|
|
|
|
|
<dependentAssembly>
|
|
|
|
|
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
|
|
|
|
<bindingRedirect oldVersion="0.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="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
|
|
|
</dependentAssembly>
|
|
|
|
|
<dependentAssembly>
|
|
|
|
|
<assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-4.8.1.0" newVersion="4.8.1.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: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>
|
|
|
|
|
<entityFramework>
|
|
|
|
|
<providers>
|
|
|
|
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
|
|
|
|
</providers>
|
|
|
|
|
</entityFramework>
|
|
|
|
|
</configuration>
|