Web.config
上传用户:mengyi0109
上传日期:2021-12-08
资源大小:58k
文件大小:6k
源码类别:

Ajax

开发平台:

Java

  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
  5. <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
  6. <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
  7. <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
  8. <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
  9. <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
  10. <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
  11. </sectionGroup>
  12. </sectionGroup>
  13. </sectionGroup>
  14. </configSections>
  15. <connectionStrings>
  16. <add name="Northwind" connectionString="Data Source=.;Initial Catalog=Northwind;Persist Security Info=True;User ID=sa;Password=sa" providerName="System.Data.SqlClient"/>
  17. </connectionStrings>
  18. <system.web>
  19. <pages>
  20. <controls>
  21. <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  22. </controls>
  23. </pages>
  24. <!--
  25.           Set compilation debug="true" to insert debugging
  26.           symbols into the compiled page. Because this
  27.           affects performance, set this value to true only
  28.           during development.
  29.     -->
  30. <compilation debug="true">
  31. <assemblies>
  32. <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  33. </assemblies>
  34. </compilation>
  35. <httpHandlers>
  36. <remove verb="*" path="*.asmx"/>
  37. <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  38. <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"/>
  39. <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"/>
  40. </httpHandlers>
  41. <httpModules>
  42. <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  43. </httpModules>
  44. </system.web>
  45. <system.web.extensions>
  46. <scripting>
  47. <webServices>
  48. <!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
  49. <!--
  50.       <jsonSerialization maxJsonLength="500">
  51.         <converters>
  52.           <add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
  53.         </converters>
  54.       </jsonSerialization>
  55.       -->
  56. <!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
  57. <!--
  58.         <authenticationService enabled="true" requireSSL = "true|false"/>
  59.       -->
  60. <!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
  61.            and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
  62.            writeAccessProperties attributes. -->
  63. <!--
  64.       <profileService enabled="true"
  65.                       readAccessProperties="propertyname1,propertyname2"
  66.                       writeAccessProperties="propertyname1,propertyname2" />
  67.       -->
  68. </webServices>
  69. <!--
  70.       <scriptResourceHandler enableCompression="true" enableCaching="true" />
  71.       -->
  72. </scripting>
  73. </system.web.extensions>
  74. <system.webServer>
  75. <validation validateIntegratedModeConfiguration="false"/>
  76. <modules>
  77. <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  78. </modules>
  79. <handlers>
  80. <remove name="WebServiceHandlerFactory-Integrated"/>
  81. <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  82. <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  83. <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"/>
  84. </handlers>
  85. </system.webServer>
  86. </configuration>