App.config 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <sectionGroup name="common">
  5. <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
  6. </sectionGroup>
  7. <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
  8. </configSections>
  9. <startup>
  10. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
  11. </startup>
  12. <connectionStrings>
  13. <add name="OnlineLogDBContext" connectionString="data source=172.1.2.199;initial catalog=StandardOCPP_OnlineRecord;;persist security info=True;user id=Phihong;password=GOGOGO;MultipleActiveResultSets=True;App=EntityFramework; Max Pool Size=500" providerName="System.Data.SqlClient" />
  14. <add name="MainDBContext" connectionString="data source=172.1.2.199;initial catalog=StandardOCPP_Main;;persist security info=True;user id=Phihong;password=GOGOGO;MultipleActiveResultSets=True;App=EntityFramework; Max Pool Size=500" providerName="System.Data.SqlClient" />
  15. <add name="WebDBContext" connectionString="data source=172.1.2.199;initial catalog=StandardOCPP_Web;;persist security info=True;user id=Phihong;password=GOGOGO;MultipleActiveResultSets=True;App=EntityFramework; Max Pool Size=500" providerName="System.Data.SqlClient" />
  16. </connectionStrings>
  17. <appSettings>
  18. <add key="OnlineChanged_Receivers" value="0987865916" />
  19. </appSettings>
  20. <runtime>
  21. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  22. <dependentAssembly>
  23. <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  24. <bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
  25. </dependentAssembly>
  26. <dependentAssembly>
  27. <assemblyIdentity name="Microsoft.Extensions.Primitives" publicKeyToken="adb9793829ddae60" culture="neutral" />
  28. <bindingRedirect oldVersion="0.0.0.0-3.1.2.0" newVersion="3.1.2.0" />
  29. </dependentAssembly>
  30. <dependentAssembly>
  31. <assemblyIdentity name="Microsoft.Extensions.Configuration.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
  32. <bindingRedirect oldVersion="0.0.0.0-3.1.2.0" newVersion="3.1.2.0" />
  33. </dependentAssembly>
  34. <dependentAssembly>
  35. <assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
  36. <bindingRedirect oldVersion="0.0.0.0-3.1.2.0" newVersion="3.1.2.0" />
  37. </dependentAssembly>
  38. <dependentAssembly>
  39. <assemblyIdentity name="Microsoft.Extensions.Options" publicKeyToken="adb9793829ddae60" culture="neutral" />
  40. <bindingRedirect oldVersion="0.0.0.0-3.1.2.0" newVersion="3.1.2.0" />
  41. </dependentAssembly>
  42. <dependentAssembly>
  43. <assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
  44. <bindingRedirect oldVersion="0.0.0.0-3.1.2.0" newVersion="3.1.2.0" />
  45. </dependentAssembly>
  46. <dependentAssembly>
  47. <assemblyIdentity name="Microsoft.Extensions.DependencyInjection" publicKeyToken="adb9793829ddae60" culture="neutral" />
  48. <bindingRedirect oldVersion="0.0.0.0-3.1.2.0" newVersion="3.1.2.0" />
  49. </dependentAssembly>
  50. <dependentAssembly>
  51. <assemblyIdentity name="Microsoft.Extensions.Logging" publicKeyToken="adb9793829ddae60" culture="neutral" />
  52. <bindingRedirect oldVersion="0.0.0.0-3.1.2.0" newVersion="3.1.2.0" />
  53. </dependentAssembly>
  54. </assemblyBinding>
  55. </runtime>
  56. </configuration>