You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2 KiB

4 years ago
4 years ago
4 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <system.web>
  4. <compilation targetFramework="4.6.1" debug="true">
  5. <assemblies>
  6. <add assembly="netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" />
  7. </assemblies>
  8. </compilation>
  9. <customErrors mode="Off" />
  10. <globalization fileEncoding="utf-8" />
  11. <httpRuntime targetFramework="4.0" maxRequestLength="2147483647" executionTimeout="3600" enableVersionHeader="false" requestPathInvalidCharacters="" />
  12. <sessionState mode="Off" />
  13. <pages controlRenderingCompatibilityVersion="4.0" />
  14. </system.web>
  15. <system.webServer>
  16. <handlers>
  17. <add name="HttpHandler" path="*" verb="*" type="Apewer.Web.ApiProgram" />
  18. </handlers>
  19. <httpErrors errorMode="Detailed" existingResponse="PassThrough">
  20. <clear/>
  21. </httpErrors>
  22. <modules runAllManagedModulesForAllRequests="true">
  23. <add name="HttpModule" type="Apewer.Web.ApiProgram" />
  24. </modules>
  25. <security>
  26. <requestFiltering allowDoubleEscaping="true">
  27. <fileExtensions>
  28. <clear />
  29. </fileExtensions>
  30. <hiddenSegments>
  31. <clear />
  32. </hiddenSegments>
  33. <requestLimits maxAllowedContentLength="2147483647" />
  34. </requestFiltering>
  35. </security>
  36. </system.webServer>
  37. </configuration>