App.config 2.5 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. <startup>
  8. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  9. </startup>
  10. <connectionStrings>
  11. <add name="oa2023DBEntities" connectionString="metadata=res://*/DB.csdl|res://*/DB.ssdl|res://*/DB.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=132.232.92.186;initial catalog=oa2023DB;persist security info=True;user id=sa;password=Yjx@158291;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  12. </connectionStrings>
  13. <entityFramework>
  14. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  15. <providers>
  16. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  17. </providers>
  18. </entityFramework>
  19. <appSettings>
  20. <add key="ConfigYear" value="2026" />
  21. <add key="ClientSettingsProvider.ServiceUri" value="" />
  22. </appSettings>
  23. <runtime>
  24. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  25. <dependentAssembly>
  26. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  27. <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
  28. </dependentAssembly>
  29. </assemblyBinding>
  30. </runtime>
  31. <system.web>
  32. <membership defaultProvider="ClientAuthenticationMembershipProvider">
  33. <providers>
  34. <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
  35. </providers>
  36. </membership>
  37. <roleManager defaultProvider="ClientRoleProvider" enabled="true">
  38. <providers>
  39. <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
  40. </providers>
  41. </roleManager>
  42. </system.web>
  43. </configuration>