You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
6.4 KiB
122 lines
6.4 KiB
9 months ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!--
|
||
|
有关如何配置 ASP.NET 应用程序的详细消息,请访问
|
||
|
http://go.microsoft.com/fwlink/?LinkId=169433
|
||
|
-->
|
||
|
<configuration>
|
||
|
<connectionStrings>
|
||
|
<!--MySql数据库连接-->
|
||
|
<!--<add name="MySqlConnString" connectionString="server=172.24.100.246;port=3306;user=smartcamp;password=C@mp_Smart#2022; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
|
||
|
<!--<add name="MySqlConnString" connectionString="server=172.28.70.132;port=6033;user=smartcamp;password=C@mp_Smart#2022; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
|
||
|
<!--<add name="MySqlConnString" connectionString="server=47.92.168.204;port=3547;user=root;password=KeNing_P@ssw0rd!; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
|
||
|
<!--<add name="MySqlConnString" connectionString="server=47.92.168.204;port=3547;user=root;password=KeNing_P@ssw0rd!; database=smartcamp20230106zx;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
|
||
|
<!-- 局域网高版本数据库 -->
|
||
|
<add name="MySqlConnString" connectionString="server=192.168.31.18;port=3306;user=root;password=123456; database=smartcamp;pooling=false;min pool size=5;max pool size=200;connect timeout = 3000; SslMode=None;Allow User Variables=True;Charset=utf8;" />
|
||
|
</connectionStrings>
|
||
|
<appSettings>
|
||
|
<!--value即是程序集名称,也是命名空间名称-->
|
||
|
<!--<add key="DataAccess" value="FangYar.SQLServerDAL"/>-->
|
||
|
<add key="DataAccess" value="FangYar.OracleDAL" />
|
||
|
<add key="APP" value="0003" />
|
||
|
<!--用车申请工作流ID-->
|
||
|
<!--<add key="CarApplyFlowId" value="c6533642-dc36-4728-aac7-81e6989f6105"/>-->
|
||
|
<add key="AutoReturnCarAccount" value="autoreturncar" />
|
||
|
<!--推送服务地址-->
|
||
|
<add key="PushUrl" value="http://112.126.63.182:8050/political/push/msg" />
|
||
|
<!-- 是否记录调试信息日志:0、不记录;1、记录 -->
|
||
|
<add key="MyLogDebug" value="1" />
|
||
|
<!-- 硬件接口数据处理开启线程数 -->
|
||
|
<add key="QueueDeviceThreadNum" value="5" />
|
||
|
<!-- 图片保存路径 -->
|
||
|
<add key="imgSavePath" value="D:\Web\智慧营区\" />
|
||
|
<!-- 西藏服务器地址 -->
|
||
|
<add key="XZHardWareIntefaceIP" value="8.142.9.226" />
|
||
|
<!-- 新疆服务器地址 -->
|
||
|
<add key="XJHardWareIntefaceIP" value="8.142.30.104" />
|
||
|
<!-- 测试车辆道闸抬杆 -->
|
||
|
<add key="TestDeviceCarPlate" value="XXXXXXX" />
|
||
|
<add key="TestDeviceIsOpen" value="on" />
|
||
|
</appSettings>
|
||
|
<!--
|
||
|
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
||
|
|
||
|
可在 <httpRuntime> 标记上设置以下特性。
|
||
|
<system.Web>
|
||
|
<httpRuntime targetFramework="4.5" />
|
||
|
</system.Web>
|
||
|
-->
|
||
|
<system.web>
|
||
|
<httpRuntime maxQueryStringLength="2097151" maxRequestLength="2048000000" requestValidationMode="2.0" />
|
||
|
<authentication mode="Forms">
|
||
|
<forms name=".SessionQXCookie" loginUrl="~/login/index.html" defaultUrl="~/index.html" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" enableCrossAppRedirects="false" cookieless="UseDeviceProfile" domain="" />
|
||
|
</authentication>
|
||
|
<compilation debug="true" targetFramework="4.7.2" />
|
||
|
<pages controlRenderingCompatibilityVersion="4.0" />
|
||
|
</system.web>
|
||
|
<system.serviceModel>
|
||
|
<bindings>
|
||
|
<basicHttpBinding>
|
||
|
<binding name="cwsServiceSoapBinding" />
|
||
|
</basicHttpBinding>
|
||
|
</bindings>
|
||
|
<client />
|
||
|
</system.serviceModel>
|
||
|
<system.webServer>
|
||
|
<security>
|
||
|
<requestFiltering>
|
||
|
<requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647" />
|
||
|
</requestFiltering>
|
||
|
</security>
|
||
|
<defaultDocument>
|
||
|
<files>
|
||
|
<clear />
|
||
|
<add value="index.html" />
|
||
|
</files>
|
||
|
</defaultDocument>
|
||
|
<handlers>
|
||
|
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
||
|
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="" type="System.Web.Handlers.TransferRequestHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" />
|
||
|
</handlers>
|
||
|
<directoryBrowse enabled="true" />
|
||
|
</system.webServer>
|
||
|
<runtime>
|
||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89B483F429C47342" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-4.122.19.1" newVersion="4.122.19.1" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-6.9.12.0" newVersion="6.9.12.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-4.122.19.1" newVersion="4.122.19.1" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-3.26.1.0" newVersion="3.26.1.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-1.3.8.0" newVersion="1.3.8.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-1.9.0.0" newVersion="1.9.0.0" />
|
||
|
</dependentAssembly>
|
||
|
</assemblyBinding>
|
||
|
</runtime>
|
||
|
</configuration>
|