RedisWrite/App.config
(完整代码) 2KB<?xml version="1.0" encoding="utf-8"?>
<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>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<appSettings>
<!--Reids状态更新间隔,单位分钟-->
<add key="RedisUpdateTime" value="15" />
<!--Reids农机数据、终端用户数据更新时间,每天一次-->
<add key="RedisSetTime" value="13:15" />
<!--数据同步时间,每天晚上23点开始同步-->
<add key="Synchronization" value="23:00" />
<!--配置WebApi访问信息-->
<add key="ApiKey" value="1000002" />
<add key="ApiSecret" value="20c7479ea4534aabbb98a95ea9337gg6" />
<add key="ApiUrl" value="http://218.75.53.238:7070/" />
<!--同步10天之内的数据-->
<add key="DateBefore" value="-10" />
<!--索引文件路径-->
<add key="LuceneIndexPath" value="D:\website\农机装备物联网综合管理平台\LuceneIndexPath" />
<!--测试!配置Redis服务器地址及端口号-->
<add key="RedisPath" value="127.0.0.1:6379" />
</appSettings>
<connectionStrings>
<!--测试环境-->
<add name="IAgriculEntities" connectionString="data source=192.168.30.103;initial catalog=IAgricul;persist security info=True;user id=sa;password=Abc_741258963;multipleactiveresultsets=True;application name=EntityFramework" providerName="System.Data.SqlClient" />
</connectionStrings>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
</configuration>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
