App.config 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <!-- Configuration minimale pour exécuter des tests avec la connection à la base de données -->
  4. <configSections>
  5. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  6. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  7. </configSections>
  8. <entityFramework>
  9. <!-- Suppression du provider par défaut qui stipule SQL server
  10. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
  11. -->
  12. <providers>
  13. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  14. </providers>
  15. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  16. <parameters>
  17. <parameter value="mssqllocaldb" />
  18. </parameters>
  19. </defaultConnectionFactory>
  20. </entityFramework>
  21. <connectionStrings>
  22. <add name="Entities" connectionString="metadata=res://*/EntityModel.csdl|res://*/EntityModel.ssdl|res://*/EntityModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=SQL-MR-01\SQL2K8_STD_CG67;initial catalog=FicheCollege;persist security info=True;user id=FicheCollege_admin;password=bk9JFwqSwYw7mEPiOhnu;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  23. </connectionStrings>
  24. <runtime>
  25. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  26. <dependentAssembly>
  27. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  28. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  29. </dependentAssembly>
  30. <dependentAssembly>
  31. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  32. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  33. </dependentAssembly>
  34. <dependentAssembly>
  35. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  36. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  37. </dependentAssembly>
  38. <dependentAssembly>
  39. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  40. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  41. </dependentAssembly>
  42. <dependentAssembly>
  43. <assemblyIdentity name="Npgsql" publicKeyToken="5d8b90d52f46fda7" culture="neutral" />
  44. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  45. </dependentAssembly>
  46. </assemblyBinding>
  47. </runtime>
  48. <startup>
  49. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
  50. </startup>
  51. </configuration>