Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Web.config 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. For more information on how to configure your ASP.NET application, please visit
  4. http://go.microsoft.com/fwlink/?LinkId=301879
  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. </appSettings>
  13. <system.web>
  14. <compilation debug="true" targetFramework="4.5" />
  15. <httpRuntime targetFramework="4.5" />
  16. </system.web>
  17. <system.webServer>
  18. <handlers>
  19. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  20. <remove name="OPTIONSVerbHandler" />
  21. <remove name="TRACEVerbHandler" />
  22. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  23. </handlers>
  24. </system.webServer>
  25. <runtime>
  26. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  27. <dependentAssembly>
  28. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  29. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  30. </dependentAssembly>
  31. <dependentAssembly>
  32. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  33. <bindingRedirect oldVersion="1.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  34. </dependentAssembly>
  35. <dependentAssembly>
  36. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  37. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  38. </dependentAssembly>
  39. <dependentAssembly>
  40. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  41. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  42. </dependentAssembly>
  43. <dependentAssembly>
  44. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  45. <bindingRedirect oldVersion="1.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  46. </dependentAssembly>
  47. </assemblyBinding>
  48. </runtime>
  49. </configuration>