Web.config 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Pour plus d’informations sur la configuration de votre application ASP.NET, consultez la page
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <configSections>
  8. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  9. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  10. </configSections>
  11. <connectionStrings>
  12. <add name="Entities" connectionString="metadata=res://*/EntityModel.csdl|res://*/EntityModel.ssdl|res://*/EntityModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=T-MSSQL-02\SQLSTD2K14;initial catalog=FicheCollege;persist security info=True;user id=FicheCollege_admin;password=bk9JFwqSwYw7mEPiOhnu;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  13. </connectionStrings>
  14. <appSettings>
  15. <add key="webpages:Version" value="2.0.0.0" />
  16. <add key="webpages:Enabled" value="false" />
  17. <add key="PreserveLoginUrl" value="true" />
  18. <add key="ClientValidationEnabled" value="true" />
  19. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  20. <add key="SolrUrl" value="http://t-lunr4:8080/solr/modele-mvc" />
  21. <add key="facette_fields" value="type_libelle casque_cornu annee_creation" />
  22. <add key="facette_mincount" value="1" />
  23. <add key="facette_ranges" value="facet.range=nb_victoires&amp;f.nb_victoires.facet.range.start=0&amp;f.nb_victoires.facet.range.end=100000&amp;f.nb_victoires.facet.range.gap=20" />
  24. <add key="trierPar" value="date_edition+desc" />
  25. <add key="resultatParPage" value="12" />
  26. </appSettings>
  27. <!--
  28. Pour obtenir une description des modifications de web.config, voir http://go.microsoft.com/fwlink/?LinkId=235367.
  29. Les attributs suivants peuvent être définis dans la balise <httpRuntime>.
  30. <system.Web>
  31. <httpRuntime targetFramework="4.6.1" />
  32. </system.Web>
  33. -->
  34. <system.web>
  35. <siteMap defaultProvider="MvcSiteMapProvider">
  36. <providers>
  37. <clear />
  38. <add name="MvcSiteMapProvider" type="MvcSiteMapProvider.DefaultSiteMapProvider, MvcSiteMapProvider" siteMapFile="~/Mvc.Sitemap" />
  39. </providers>
  40. </siteMap>
  41. <httpRuntime targetFramework="4.5.1" />
  42. <compilation debug="true" targetFramework="4.6.1" />
  43. <pages>
  44. <namespaces>
  45. <add namespace="System.Web.Helpers" />
  46. <add namespace="System.Web.Mvc" />
  47. <add namespace="System.Web.Mvc.Ajax" />
  48. <add namespace="System.Web.Mvc.Html" />
  49. <add namespace="System.Web.Routing" />
  50. <add namespace="System.Web.WebPages" />
  51. </namespaces>
  52. </pages>
  53. </system.web>
  54. <system.webServer>
  55. <staticContent>
  56. <clientCache cacheControlMode="UseMaxAge" cacheControlCustom="public" cacheControlMaxAge="0.00:00:00" />
  57. </staticContent>
  58. <validation validateIntegratedModeConfiguration="false" />
  59. <handlers>
  60. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  61. <remove name="OPTIONSVerbHandler" />
  62. <remove name="TRACEVerbHandler" />
  63. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  64. </handlers>
  65. </system.webServer>
  66. <entityFramework>
  67. <!-- Suppression du provider par défaut qui stipule SQL server
  68. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
  69. -->
  70. <providers>
  71. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  72. </providers>
  73. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  74. <parameters>
  75. <parameter value="mssqllocaldb" />
  76. </parameters>
  77. </defaultConnectionFactory>
  78. </entityFramework>
  79. <runtime>
  80. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  81. <dependentAssembly>
  82. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  83. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  84. </dependentAssembly>
  85. <dependentAssembly>
  86. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  87. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  88. </dependentAssembly>
  89. <dependentAssembly>
  90. <assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  91. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  92. </dependentAssembly>
  93. <dependentAssembly>
  94. <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  95. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  96. </dependentAssembly>
  97. <dependentAssembly>
  98. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  99. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  100. </dependentAssembly>
  101. <dependentAssembly>
  102. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  103. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  104. </dependentAssembly>
  105. <dependentAssembly>
  106. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  107. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  108. </dependentAssembly>
  109. <dependentAssembly>
  110. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  111. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  112. </dependentAssembly>
  113. </assemblyBinding>
  114. </runtime>
  115. </configuration>