Web.config 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. <section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dotless.Core" />
  10. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></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. <httpHandlers>
  54. <add path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" />
  55. </httpHandlers>
  56. </system.web>
  57. <system.webServer>
  58. <staticContent>
  59. <clientCache cacheControlMode="UseMaxAge" cacheControlCustom="public" cacheControlMaxAge="0.00:00:00" />
  60. </staticContent>
  61. <validation validateIntegratedModeConfiguration="false" />
  62. <handlers>
  63. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  64. <remove name="OPTIONSVerbHandler" />
  65. <remove name="TRACEVerbHandler" />
  66. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  67. <add name="dotless" path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler,dotless.Core" resourceType="File" preCondition="" />
  68. </handlers>
  69. </system.webServer>
  70. <entityFramework>
  71. <!-- Suppression du provider par défaut qui stipule SQL server
  72. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
  73. -->
  74. <providers>
  75. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  76. </providers>
  77. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  78. <parameters>
  79. <parameter value="mssqllocaldb" />
  80. </parameters>
  81. </defaultConnectionFactory>
  82. </entityFramework>
  83. <runtime>
  84. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  85. <dependentAssembly>
  86. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  87. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  88. </dependentAssembly>
  89. <dependentAssembly>
  90. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  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.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="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  99. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  100. </dependentAssembly>
  101. <dependentAssembly>
  102. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  103. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  104. </dependentAssembly>
  105. <dependentAssembly>
  106. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  107. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  108. </dependentAssembly>
  109. <dependentAssembly>
  110. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  111. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  112. </dependentAssembly>
  113. <dependentAssembly>
  114. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  115. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  116. </dependentAssembly>
  117. </assemblyBinding>
  118. </runtime>
  119. <dotless minifyCss="false" cache="true" web="false" strictMath="false" />
  120. </configuration>