Web.config 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Pour plus d’informations sur la configuration de votre application ASP.NET, rendez-vous sur
  4. http://go.microsoft.com/fwlink/?LinkId=301880
  5. -->
  6. <configuration>
  7. <appSettings>
  8. <add key="webpages:Version" value="3.0.0.0" />
  9. <add key="webpages:Enabled" value="false" />
  10. <add key="ClientValidationEnabled" value="true" />
  11. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  12. <add key="AppliWebANA.Models.Compteurs.CheminFichierNbVisiteurs" value="C:\Users\orsys\Documents\NbVisiteurs.txt"/>
  13. </appSettings>
  14. <system.web>
  15. <compilation debug="true" targetFramework="4.6.1" />
  16. <httpRuntime targetFramework="4.6.1" />
  17. <httpModules>
  18. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  19. </httpModules>
  20. </system.web>
  21. <system.webServer>
  22. <handlers>
  23. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  24. <remove name="OPTIONSVerbHandler" />
  25. <remove name="TRACEVerbHandler" />
  26. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  27. </handlers>
  28. <validation validateIntegratedModeConfiguration="false" />
  29. <modules>
  30. <remove name="ApplicationInsightsWebTracking" />
  31. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  32. </modules>
  33. </system.webServer>
  34. <runtime>
  35. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  36. <dependentAssembly>
  37. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  38. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  39. </dependentAssembly>
  40. <dependentAssembly>
  41. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  42. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  43. </dependentAssembly>
  44. <dependentAssembly>
  45. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  46. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  47. </dependentAssembly>
  48. <dependentAssembly>
  49. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  50. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  51. </dependentAssembly>
  52. <dependentAssembly>
  53. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  54. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  55. </dependentAssembly>
  56. <dependentAssembly>
  57. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  58. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  59. </dependentAssembly>
  60. <dependentAssembly>
  61. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  62. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  63. </dependentAssembly>
  64. </assemblyBinding>
  65. </runtime>
  66. <system.codedom>
  67. <compilers>
  68. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
  69. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  70. </compilers>
  71. </system.codedom>
  72. </configuration>