app.config 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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=bowin-database\SQL2008;Initial Catalog=EMISNew;Persist Security Info=True;User ID=sa;Password=1;Pooling=True;" />
  9. <add name="EMISNewLogContext" providerName="System.Data.SqlClient" connectionString="Data Source=bowin-database\SQL2008;Initial Catalog=EMISNewLog;Persist Security Info=True;User ID=sa;Password=1;Pooling=True;" />
  10. </connectionStrings>
  11. <entityFramework>
  12. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  13. <parameters>
  14. <parameter value="v11.0" />
  15. </parameters>
  16. </defaultConnectionFactory>
  17. <providers>
  18. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  19. </providers>
  20. </entityFramework>
  21. <appSettings>
  22. <!-- 将缺省值设置间隔时间设为计时器的间隔时间 缺省为10秒;Interval的value值单位为微秒-->
  23. <add key="ServiceName" value="EMIS.Services" />
  24. <add key="Interval" value="10000" />
  25. <add key="Wrapper" value="EMIS.Services, EMIS.Services.MyEAPServiceWrapper.ServiceWrapper" />
  26. <add key="IsDebug" value="true" />
  27. <add key="CertFile" value="" />
  28. </appSettings>
  29. <startup>
  30. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  31. </startup>
  32. <!--服务基本配置结束-->
  33. <runtime>
  34. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  35. <dependentAssembly>
  36. <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
  37. <bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0" />
  38. </dependentAssembly>
  39. </assemblyBinding>
  40. </runtime>
  41. </configuration>