Web.config 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Pour plus d'informations sur la configuration de votre application ASP.NET, consultez
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <!--
  8. Pour obtenir une description des modifications de web.config, voir http://go.microsoft.com/fwlink/?LinkId=235367.
  9. Les attributs suivants peuvent être définis dans la balise <httpRuntime>.
  10. <system.Web>
  11. <httpRuntime targetFramework="4.6.1" />
  12. </system.Web>
  13. -->
  14. <system.web>
  15. <compilation debug="true" targetFramework="4.6.1" />
  16. <httpRuntime targetFramework="4.5.2" />
  17. </system.web>
  18. <runtime>
  19. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  20. <dependentAssembly>
  21. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  22. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  23. </dependentAssembly>
  24. </assemblyBinding>
  25. </runtime>
  26. <system.webServer>
  27. <handlers>
  28. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  29. <remove name="OPTIONSVerbHandler" />
  30. <remove name="TRACEVerbHandler" />
  31. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  32. </handlers>
  33. </system.webServer>
  34. <system.codedom>
  35. <compilers>
  36. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
  37. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  38. </compilers>
  39. </system.codedom>
  40. </configuration>