App.config 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  5. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  6. </configSections>
  7. <connectionStrings>
  8. <add name="EMISNewContext" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.0.66\LIOT;Initial Catalog=LIOT.Exam20200608;Persist Security Info=True;User ID=sa;Password=1;Pooling=True;Max Pool Size=10000;" />
  9. <add name="EMISNewLogContext" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.0.66\LIOT;Initial Catalog=LIOT.ExamLog;Persist Security Info=True;User ID=sa;Password=1;Pooling=True;Max Pool Size=10000;" />
  10. <!--<add name="EMISNewContext" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.42.55;Initial Catalog=LIOT.Exam;Persist Security Info=True;User ID=exam;Password=exam!2#;Pooling=True;Max Pool Size=10000;" />
  11. <add name="EMISNewLogContext" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.42.55;Initial Catalog=LIOT.ExamLog;Persist Security Info=True;User ID=exam;Password=exam!2#;Pooling=True;Max Pool Size=10000;" />-->
  12. </connectionStrings>
  13. <entityFramework>
  14. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  15. <parameters>
  16. <parameter value="v11.0" />
  17. </parameters>
  18. </defaultConnectionFactory>
  19. <providers>
  20. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  21. </providers>
  22. </entityFramework>
  23. <appSettings>
  24. <!-- 将缺省值设置间隔时间设为计时器的间隔时间 缺省为5分钟(300秒);Interval的value值单位为微秒-->
  25. <add key="ServiceName" value="EMIS.Services" />
  26. <add key="Interval" value="300000" />
  27. <add key="Wrapper" value="EMIS.Services, EMIS.Services.MyEAPServiceWrapper.ServiceWrapper" />
  28. <add key="IsDebug" value="true" />
  29. <add key="CertFile" value="" />
  30. </appSettings>
  31. <startup>
  32. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  33. </startup>
  34. <!--服务基本配置结束-->
  35. <runtime>
  36. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  37. <dependentAssembly>
  38. <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
  39. <bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0" />
  40. </dependentAssembly>
  41. </assemblyBinding>
  42. </runtime>
  43. </configuration>