Web.config 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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 -->
  11. <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
  12. <section name="CD67.FicheCollege.MVC.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  13. </sectionGroup>
  14. </configSections>
  15. <connectionStrings>
  16. <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" />
  17. </connectionStrings>
  18. <appSettings>
  19. <add key="webpages:Version" value="2.0.0.0" />
  20. <add key="webpages:Enabled" value="false" />
  21. <add key="PreserveLoginUrl" value="true" />
  22. <add key="ClientValidationEnabled" value="true" />
  23. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  24. <add key="SolrUrl" value="http://t-lunr4:8080/solr/modele-mvc" />
  25. <add key="facette_fields" value="type_libelle casque_cornu annee_creation" />
  26. <add key="facette_mincount" value="1" />
  27. <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" />
  28. <add key="trierPar" value="date_edition+desc" />
  29. <add key="resultatParPage" value="12" />
  30. </appSettings>
  31. <!--
  32. Pour obtenir une description des modifications de web.config, voir http://go.microsoft.com/fwlink/?LinkId=235367.
  33. Les attributs suivants peuvent être définis dans la balise <httpRuntime>.
  34. <system.Web>
  35. <httpRuntime targetFramework="4.6.1" />
  36. </system.Web>
  37. -->
  38. <system.web>
  39. <siteMap defaultProvider="MvcSiteMapProvider">
  40. <providers>
  41. <clear />
  42. <add name="MvcSiteMapProvider" type="MvcSiteMapProvider.DefaultSiteMapProvider, MvcSiteMapProvider" siteMapFile="~/Mvc.Sitemap" />
  43. </providers>
  44. </siteMap>
  45. <httpRuntime targetFramework="4.5.1" />
  46. <compilation debug="true" targetFramework="4.6.1" />
  47. <pages>
  48. <namespaces>
  49. <add namespace="System.Web.Helpers" />
  50. <add namespace="System.Web.Mvc" />
  51. <add namespace="System.Web.Mvc.Ajax" />
  52. <add namespace="System.Web.Mvc.Html" />
  53. <add namespace="System.Web.Routing" />
  54. <add namespace="System.Web.WebPages" />
  55. </namespaces>
  56. </pages>
  57. <httpHandlers>
  58. <add path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" />
  59. </httpHandlers>
  60. </system.web>
  61. <system.webServer>
  62. <staticContent>
  63. <clientCache cacheControlMode="UseMaxAge" cacheControlCustom="public" cacheControlMaxAge="0.00:00:00" />
  64. </staticContent>
  65. <validation validateIntegratedModeConfiguration="false" />
  66. <handlers>
  67. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  68. <remove name="OPTIONSVerbHandler" />
  69. <remove name="TRACEVerbHandler" />
  70. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  71. <add name="dotless" path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler,dotless.Core" resourceType="File" preCondition="" />
  72. </handlers>
  73. </system.webServer>
  74. <entityFramework>
  75. <!-- Suppression du provider par défaut qui stipule SQL server
  76. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
  77. -->
  78. <providers>
  79. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  80. </providers>
  81. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  82. <parameters>
  83. <parameter value="mssqllocaldb" />
  84. </parameters>
  85. </defaultConnectionFactory>
  86. </entityFramework>
  87. <runtime>
  88. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  89. <dependentAssembly>
  90. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  91. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  92. </dependentAssembly>
  93. <dependentAssembly>
  94. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  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.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="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  103. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  104. </dependentAssembly>
  105. <dependentAssembly>
  106. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  107. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  108. </dependentAssembly>
  109. <dependentAssembly>
  110. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  111. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  112. </dependentAssembly>
  113. <dependentAssembly>
  114. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  115. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  116. </dependentAssembly>
  117. <dependentAssembly>
  118. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  119. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  120. </dependentAssembly>
  121. </assemblyBinding>
  122. </runtime>
  123. <dotless minifyCss="false" cache="true" web="false" strictMath="false" />
  124. <applicationSettings>
  125. <CD67.FicheCollege.MVC.Properties.Settings>
  126. <setting name="GetCodesPostaux_URL" serializeAs="String">
  127. <value>http://lunr4:8080/solr/referentiel-communes/select?q=id%3A{0}&amp;fl=code_postal&amp;wt=xml&amp;indent=true&amp;hl=false&amp;omitHeader=true</value>
  128. </setting>
  129. </CD67.FicheCollege.MVC.Properties.Settings>
  130. </applicationSettings>
  131. </configuration>