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.
71 lines
3.9 KiB
71 lines
3.9 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
|
https://go.microsoft.com/fwlink/?LinkId=169433
|
|
-->
|
|
<configuration>
|
|
<connectionStrings>
|
|
<!--MySql数据库连接-->
|
|
<!--<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=192.168.31.12;port=3306;user=root;password=P@ssw0rd; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />
|
|
</connectionStrings>
|
|
<appSettings>
|
|
<!--value即是程序集名称,也是命名空间名称-->
|
|
<!--<add key="DataAccess" value="FangYar.SQLServerDAL"/>-->
|
|
<add key="DataAccess" value="FangYar.OracleDAL" />
|
|
<!--DB end-->
|
|
<!-- 设置是否记录操作日志:0、记录;其他、不记录 -->
|
|
<add key="IsOperationLogDebug" value="1" />
|
|
<!-- 设置是否记录操作日志到Kafka:0、记录;其他、不记录 -->
|
|
<add key="IsKafkaLog" value="1" />
|
|
<!--Kafka服务器地址-->
|
|
<add key="KafkaServer" value="192.168.31.16:9092" />
|
|
<!--Kafka服务器存储Key-->
|
|
<add key="KafkaServerKey" value="CampSysOperationLog" />
|
|
</appSettings>
|
|
<!--
|
|
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
|
|
|
可在 <httpRuntime> 标记上设置以下特性。
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.7.2" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.7.2" />
|
|
<httpRuntime targetFramework="4.5" />
|
|
</system.web>
|
|
<system.codedom>
|
|
<compilers>
|
|
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.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.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
|
|
</compilers>
|
|
</system.codedom>
|
|
<system.serviceModel>
|
|
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" minFreeMemoryPercentageToActivateService="1" />
|
|
</system.serviceModel>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<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>
|