批量获取sql后再执行写入操作
大石头 编写于 2020-11-08 19:09:05
FeiXian
<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="webpages:Version" value="3.0.0.0"/>
    <add key="webpages:Enabled" value="false"/>
    <add key="PreserveLoginUrl" value="true"/>
    <add key="ClientValidationEnabled" value="true"/>
    <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
    <add key="XCode.ConnMaps" value=""/>
  </appSettings>
  <connectionStrings>
    <!--默认使用config配置路径-->
    <!--<add name="Front" connectionString="Data Source=..\..\Data\Front.db" providerName="Sqlite" />
    <add name="IoT" connectionString="Data Source=..\..\Data\IoT.db" providerName="Sqlite"/>
    <add name="TokenLog" connectionString="Data Source=..\..\Data\TokenLog.db" providerName="Sqlite"/>
    <add name="Membership" connectionString="Data Source=..\..\Data\Membership.db" providerName="Sqlite"/>-->
  </connectionStrings>
  <system.web>
    <compilation debug="true" targetFramework="4.6"/>
    <authentication mode="Forms">
      <forms loginUrl="~/Admin/User/Login" timeout="2880"/>
    </authentication>
    <pages controlRenderingCompatibilityVersion="4.0">
      <namespaces>
        <add namespace="System.Web.Helpers"/>
        <add namespace="System.Web.Mvc"/>
        <add namespace="System.Web.Mvc.Ajax"/>
        <add namespace="System.Web.Mvc.Html"/>
        <add namespace="System.Web.Routing"/>
        <add namespace="System.Web.WebPages"/>
      </namespaces>
    </pages>
    <customErrors mode="Off"/>
    <httpRuntime requestValidationMode="2.0" executionTimeout="15"/>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <httpProtocol>
      <customHeaders>
        <remove name="X-Powered-By"/>
        <add name="X-Powered-By" value="NewLife.Cube http://www.NewLifeX.com"/>
      </customHeaders>
    </httpProtocol>
    <!--静态缓存使用浏览器缓存,超时时间之内不发出Http请求(F5除外)-->
    <staticContent>
      <remove fileExtension=".woff"/>
      <remove fileExtension=".woff2"/>
      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/>
      <mimeMap fileExtension=".woff2" mimeType="application/x-font-woff"/>
      <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="240:00:00"/>
    </staticContent>
  </system.webServer>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="1.0.0.0-5.2.6.0" newVersion="5.2.6.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>