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.
48 lines
2.3 KiB
48 lines
2.3 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>
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.5" />
|
|
<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>
|
|
</configuration>
|