Web.config 5.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. <configSections>
  8. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  9. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10. </configSections>
  11. <appSettings>
  12. <add key="webpages:Version" value="3.0.0.0" />
  13. <add key="webpages:Enabled" value="false" />
  14. <add key="ClientValidationEnabled" value="true" />
  15. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  16. <add key="AppliWebANA.Models.Compteurs.CheminFichierNbVisiteurs" value="c:/eric/partage/NbVisiteurs.txt" />
  17. <add key="MessagerieRepository" value="MessagerieRepositoryEnMemoire" />
  18. </appSettings>
  19. <connectionStrings>
  20. <add name="AnnuaireEntities" connectionString="metadata=res://*/ModeleAnnuaire.csdl|res://*/ModeleAnnuaire.ssdl|res://*/ModeleAnnuaire.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.\sqlexpress;initial catalog=Annuaire;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  21. </connectionStrings>
  22. <system.web>
  23. <compilation debug="true" targetFramework="4.6.1" />
  24. <httpRuntime targetFramework="4.6.1" />
  25. <httpModules>
  26. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  27. </httpModules>
  28. </system.web>
  29. <system.webServer>
  30. <handlers>
  31. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  32. <remove name="OPTIONSVerbHandler" />
  33. <remove name="TRACEVerbHandler" />
  34. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  35. </handlers>
  36. <validation validateIntegratedModeConfiguration="false" />
  37. <modules>
  38. <remove name="ApplicationInsightsWebTracking" />
  39. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  40. </modules>
  41. </system.webServer>
  42. <runtime>
  43. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  44. <dependentAssembly>
  45. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  46. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  47. </dependentAssembly>
  48. <dependentAssembly>
  49. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  50. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  51. </dependentAssembly>
  52. <dependentAssembly>
  53. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  54. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  55. </dependentAssembly>
  56. <dependentAssembly>
  57. <assemblyIdentity name="System.Web.Helpers" 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="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  62. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  63. </dependentAssembly>
  64. <dependentAssembly>
  65. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  66. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  67. </dependentAssembly>
  68. <dependentAssembly>
  69. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  70. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  71. </dependentAssembly>
  72. </assemblyBinding>
  73. </runtime>
  74. <system.codedom>
  75. <compilers>
  76. <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" />
  77. <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+" />
  78. </compilers>
  79. </system.codedom>
  80. <entityFramework>
  81. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  82. <providers>
  83. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  84. </providers>
  85. </entityFramework>
  86. </configuration>