Web.config 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <appSettings>
  4. <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
  5. </appSettings>
  6. <system.web>
  7. <compilation debug="true" targetFramework="4.8" />
  8. <httpRuntime targetFramework="4.8"/>
  9. </system.web>
  10. <system.serviceModel>
  11. <behaviors>
  12. <serviceBehaviors>
  13. <behavior>
  14. <!-- 메타데이터 정보를 공개하지 않으려면 배포하기 전에 아래 값을 false로 설정하십시오. -->
  15. <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
  16. <!-- 디버깅 목적으로 잘못된 예외 정보를 받으려면 아래의 값을 true로 설정하십시오. 예외 정보의 노출을 방지하려면 배포 전에 값을 false로 설정하십시오. -->
  17. <serviceDebug includeExceptionDetailInFaults="false"/>
  18. </behavior>
  19. </serviceBehaviors>
  20. </behaviors>
  21. <protocolMapping>
  22. <add binding="basicHttpsBinding" scheme="https" />
  23. </protocolMapping>
  24. <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  25. </system.serviceModel>
  26. <system.webServer>
  27. <modules runAllManagedModulesForAllRequests="true"/>
  28. <!--
  29. 디버깅 중에 웹 응용 프로그램 루트 디렉터리를 찾으려면 아래 값을 true로 설정하십시오.
  30. 웹 응용 프로그램 폴더 정보를 공개하지 않으려면 배포 전에 false로 설정하십시오.
  31. -->
  32. <directoryBrowse enabled="true"/>
  33. </system.webServer>
  34. </configuration>