RedisWrite/bin/Debug/IA.Web.dll.config

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?xml version="1.0"?>
<!--
  有关如何配置 ASP.NET 应用程序的详细信息,请访问
  http://go.microsoft.com/fwlink/?LinkId=301880
  -->
<configuration>
  <configSections>
    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data"/>
    <!-- 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>
  <system.webServer>
    <staticContent>
      <remove fileExtension=".woff"/>
      <mimeMap fileExtension=".woff" mimeType="application/font-woff"/>
    </staticContent>
    <handlers>
      <!--自定义ImageHandler,对上传的图片进行防盗链处理-->
      <add name="jpg" path="*.jpg" verb="*" type="IA.Web.Custom.ImageHandler"/>
      <add name="jpeg" path="*.jpeg" verb="*" type="IA.Web.Custom.ImageHandler"/>
      <add name="png" path="*.png" verb="*" type="IA.Web.Custom.ImageHandler"/>
      <add name="gif" path="*.gif" verb="*" type="IA.Web.Custom.ImageHandler"/>
    </handlers>
    <directoryBrowse enabled="true"/>
    <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>
  <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"/>
    <!--短信验证码发送限制次数-->
    <add key="VerifyCount" value="3"/>
    <!--配置图片服务器路径-->
    <add key="ImgUrl" value="http://localhost:8085/"/>
    <!--配置WebApi访问信息-->
    <add key="ApiKey" value="1000002"/>
    <add key="ApiSecret" value="20c7479ea4534aabbb98a95ea9337gg6"/>
    <add key="ApiUrl" value="http://220.189.236.146:7070/"/>
    <!--配置短信验证码发送账户信息-->
    <add key="SMSAccount" value="56862"/>
    <add key="SMSPwd" value="0d36i2"/>
    <add key="SMSContent_Login" value="您的登录验证码为:#verificationCode#, 请在1小时内填写。【聚能科技】"/>
    <!--同步10天之内的数据-->
    <add key="DateBefore" value="-10"/>
    <!--索引文件路径-->
    <add key="LuceneIndexPath" value="D:\MyWorkSpace\iAgricul\web\IA.Web\LuceneIndexPath"/>
    <!--redis中工作状态更新时间,单位:分钟-->
    <add key="redisworktime" value="15"/>
    <!--免登陆模式首页定位到的农机编号-->
    <add key="IndexFbatchNo" value="X1511659"/>
    <add key="UnityConfig" value="configFiles/unity.config.xml"/>
    <!--正式环境-->
    <add key="RedisPath" value="127.0.0.1:6379"/>
  </appSettings>
  <connectionStrings>
    <!--正式环境-->
    <add name="IAgriculEntities" connectionString="data source=localhost;initial catalog=IAgricul;persist security info=True;user id=sa;password=123456;multipleactiveresultsets=True;application name=EntityFramework" providerName="System.Data.SqlClient"/>
  </connectionStrings>
  <dataConfiguration defaultDatabase="IAgricul"/>
后面还有 55 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。