Web.config 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. <pages>
  58. <controls>
  59. <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  60. </controls>
  61. </pages>
  62. <httpHandlers>
  63. <remove verb="*" path="*.asmx"/>
  64. <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  65. <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"/>
  66. <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"/>
  67. </httpHandlers>
  68. <httpModules>
  69. <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  70. </httpModules>
  71. </system.web>
  72. <system.web.extensions>
  73. <scripting>
  74. <webServices>
  75. <!--
  76. Uncomment this section to enable the authentication service. Include
  77. requireSSL="true" if appropriate.
  78. <authenticationService enabled="true" requireSSL = "true|false"/>
  79. -->
  80. <!--
  81. Uncomment these lines to enable the profile service, and to choose the
  82. profile properties that can be retrieved and modified in ASP.NET AJAX
  83. applications.
  84. <profileService enabled="true"
  85. readAccessProperties="propertyname1,propertyname2"
  86. writeAccessProperties="propertyname1,propertyname2" />
  87. -->
  88. <!--
  89. Uncomment this section to enable the role service.
  90. <roleService enabled="true"/>
  91. -->
  92. </webServices>
  93. <!--
  94. <scriptResourceHandler enableCompression="true" enableCaching="true" />
  95. -->
  96. </scripting>
  97. </system.web.extensions>
  98. <!--
  99. The system.webServer section is required for running ASP.NET AJAX under Internet
  100. Information Services 7.0. It is not necessary for previous version of IIS.
  101. -->
  102. <system.webServer>
  103. <validation validateIntegratedModeConfiguration="false"/>
  104. <modules>
  105. <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  106. </modules>
  107. <handlers>
  108. <remove name="WebServiceHandlerFactory-Integrated"/>
  109. <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
  110. type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  111. <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
  112. type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  113. <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" />
  114. </handlers>
  115. </system.webServer>
  116. </configuration>