App.config 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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="tmsfrmContext" connectionString="server=localhost;user id=root;password=123456;persistsecurityinfo=True;database=tmsfrm;SslMode=None" providerName="MySql.Data.MySqlClient" />
  9. <add name="fmsforycContext" connectionString="server=localhost;user id=root;password=123456;persistsecurityinfo=True;database=fmsforyc;SslMode=None" providerName="MySql.Data.MySqlClient" />
  10. </connectionStrings>
  11. <appSettings>
  12. <!--内部通信端口-->
  13. <add key="Port" value="8554" />
  14. <!--是否自动离线-->
  15. <add key="isAutoOutLine" value="false" />
  16. </appSettings>
  17. <startup>
  18. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
  19. </startup>
  20. <!--<system.data>
  21. <DbProviderFactories>
  22. <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.10.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>
  23. </DbProviderFactories>
  24. </system.data>-->
  25. <!--<runtime>
  26. <legacyCorruptedStateExceptionsPolicy enabled="true" />
  27. </runtime>-->
  28. <entityFramework>
  29. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  30. <providers>
  31. <provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.9.10.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"></provider>
  32. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  33. </providers>
  34. </entityFramework>
  35. <runtime>
  36. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  37. <dependentAssembly>
  38. <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  39. <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
  40. </dependentAssembly>
  41. <dependentAssembly>
  42. <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  43. <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
  44. </dependentAssembly>
  45. <dependentAssembly>
  46. <assemblyIdentity name="Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets" publicKeyToken="adb9793829ddae60" culture="neutral" />
  47. <bindingRedirect oldVersion="0.0.0.0-2.2.1.0" newVersion="2.2.1.0" />
  48. </dependentAssembly>
  49. <dependentAssembly>
  50. <assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  51. <bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
  52. </dependentAssembly>
  53. <dependentAssembly>
  54. <assemblyIdentity name="System.Security.Cryptography.Cng" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  55. <bindingRedirect oldVersion="0.0.0.0-4.3.1.0" newVersion="4.3.1.0" />
  56. </dependentAssembly>
  57. <dependentAssembly>
  58. <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  59. <bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
  60. </dependentAssembly>
  61. <dependentAssembly>
  62. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  63. <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
  64. </dependentAssembly>
  65. </assemblyBinding>
  66. </runtime>
  67. </configuration>