Web.config 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?xml version="1.0"?>
  2. <!--
  3. Note: As an alternative to hand editing this file you can use the
  4. web admin tool to configure settings for your application. Use
  5. the Website->Asp.Net Configuration option in Visual Studio.
  6. A full list of settings and comments can be found in
  7. machine.config.comments usually located in
  8. \Windows\Microsoft.Net\Framework\v2.x\Config
  9. -->
  10. <configuration>
  11. <configSections>
  12. <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
  13. <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
  14. <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
  15. <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
  16. <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
  17. <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
  18. <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
  19. <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
  20. </sectionGroup>
  21. </sectionGroup>
  22. </sectionGroup>
  23. </configSections>
  24. <appSettings>
  25. <add key="RenameID" value="false"/>
  26. </appSettings>
  27. <connectionStrings/>
  28. <system.web>
  29. <!--
  30. Set compilation debug="true" to insert debugging
  31. symbols into the compiled page. Because this
  32. affects performance, set this value to true only
  33. during development.
  34. -->
  35. <compilation debug="true">
  36. <assemblies>
  37. <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  38. </assemblies>
  39. </compilation>
  40. <!--
  41. The <authentication> section enables configuration
  42. of the security authentication mode used by
  43. ASP.NET to identify an incoming user.
  44. -->
  45. <authentication mode="Forms" />
  46. <!--
  47. The <customErrors> section enables configuration
  48. of what to do if/when an unhandled error occurs
  49. during the execution of a request. Specifically,
  50. it enables developers to configure html error pages
  51. to be displayed in place of a error stack trace.
  52. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  53. <error statusCode="403" redirect="NoAccess.htm" />
  54. <error statusCode="404" redirect="FileNotFound.htm" />
  55. </customErrors>
  56. -->
  57. <customErrors mode="Off">
  58. </customErrors>
  59. <pages>
  60. <controls>
  61. <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  62. </controls>
  63. </pages>
  64. <httpHandlers>
  65. <remove verb="*" path="*.asmx"/>
  66. <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  67. <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  68. <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
  69. </httpHandlers>
  70. <httpModules>
  71. <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  72. </httpModules>
  73. </system.web>
  74. <system.web.extensions>
  75. <scripting>
  76. <webServices>
  77. <!--
  78. Uncomment this section to enable the authentication service. Include
  79. requireSSL="true" if appropriate.
  80. <authenticationService enabled="true" requireSSL = "true|false"/>
  81. -->
  82. <!--
  83. Uncomment these lines to enable the profile service, and to choose the
  84. profile properties that can be retrieved and modified in ASP.NET AJAX
  85. applications.
  86. <profileService enabled="true"
  87. readAccessProperties="propertyname1,propertyname2"
  88. writeAccessProperties="propertyname1,propertyname2" />
  89. -->
  90. <!--
  91. Uncomment this section to enable the role service.
  92. <roleService enabled="true"/>
  93. -->
  94. </webServices>
  95. <!--
  96. <scriptResourceHandler enableCompression="true" enableCaching="true" />
  97. -->
  98. </scripting>
  99. </system.web.extensions>
  100. <!--
  101. The system.webServer section is required for running ASP.NET AJAX under Internet
  102. Information Services 7.0. It is not necessary for previous version of IIS.
  103. -->
  104. <system.webServer>
  105. <validation validateIntegratedModeConfiguration="false"/>
  106. <modules>
  107. <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  108. </modules>
  109. <handlers>
  110. <remove name="WebServiceHandlerFactory-Integrated"/>
  111. <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
  112. type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  113. <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
  114. type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  115. <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  116. </handlers>
  117. </system.webServer>
  118. </configuration>