Web.config 5.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. <remove name="LocalSqlServer"/>
  21. <add name="LocalSqlServer" connectionString="data source=.\sqlexpress;initial catalog=Annuaire;integrated security=True;"/>
  22. <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" />
  23. </connectionStrings>
  24. <system.web>
  25. <authentication mode="Forms">
  26. <forms loginUrl="~/Securite">
  27. </forms>
  28. </authentication>
  29. <compilation debug="true" targetFramework="4.6.1" />
  30. <httpRuntime targetFramework="4.6.1" />
  31. <httpModules>
  32. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  33. </httpModules>
  34. </system.web>
  35. <system.webServer>
  36. <handlers>
  37. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  38. <remove name="OPTIONSVerbHandler" />
  39. <remove name="TRACEVerbHandler" />
  40. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  41. </handlers>
  42. <validation validateIntegratedModeConfiguration="false" />
  43. <modules>
  44. <remove name="ApplicationInsightsWebTracking" />
  45. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  46. </modules>
  47. </system.webServer>
  48. <runtime>
  49. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  50. <dependentAssembly>
  51. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  52. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  53. </dependentAssembly>
  54. <dependentAssembly>
  55. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  56. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  57. </dependentAssembly>
  58. <dependentAssembly>
  59. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  60. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  61. </dependentAssembly>
  62. <dependentAssembly>
  63. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  64. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  65. </dependentAssembly>
  66. <dependentAssembly>
  67. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  68. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  69. </dependentAssembly>
  70. <dependentAssembly>
  71. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  72. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  73. </dependentAssembly>
  74. <dependentAssembly>
  75. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  76. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  77. </dependentAssembly>
  78. </assemblyBinding>
  79. </runtime>
  80. <system.codedom>
  81. <compilers>
  82. <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" />
  83. <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+" />
  84. </compilers>
  85. </system.codedom>
  86. <entityFramework>
  87. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  88. <providers>
  89. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  90. </providers>
  91. </entityFramework>
  92. </configuration>