PageRenderTime 49ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/Visual Studio 2008/CSASPNETCustomHttpHandlerandModule/CSASPNETCustomHttpHandlerandModule/Web.config

#
Unknown | 109 lines | 108 code | 1 blank | 0 comment | 0 complexity | 7b507d474a95aec3657fdd9dc8d129ef MD5 | raw file
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  5. <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  6. <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  7. <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  8. <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
  9. <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  10. <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  11. <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  12. </sectionGroup>
  13. </sectionGroup>
  14. </sectionGroup>
  15. </configSections>
  16. <appSettings/>
  17. <connectionStrings/>
  18. <system.web>
  19. <!--
  20. Set compilation debug="true" to insert debugging
  21. symbols into the compiled page. Because this
  22. affects performance, set this value to true only
  23. during development.
  24. -->
  25. <compilation debug="true">
  26. <assemblies>
  27. <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  28. <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  29. <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  30. <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  31. </assemblies>
  32. </compilation>
  33. <!--
  34. The <authentication> section enables configuration
  35. of the security authentication mode used by
  36. ASP.NET to identify an incoming user.
  37. -->
  38. <authentication mode="Windows"/>
  39. <!--
  40. The <customErrors> section enables configuration
  41. of what to do if/when an unhandled error occurs
  42. during the execution of a request. Specifically,
  43. it enables developers to configure html error pages
  44. to be displayed in place of a error stack trace.
  45. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  46. <error statusCode="403" redirect="NoAccess.htm" />
  47. <error statusCode="404" redirect="FileNotFound.htm" />
  48. </customErrors>
  49. -->
  50. <pages>
  51. <controls>
  52. <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  53. <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  54. </controls>
  55. </pages>
  56. <httpHandlers>
  57. <remove verb="*" path="*.asmx"/>
  58. <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  59. <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  60. <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
  61. </httpHandlers>
  62. <httpModules>
  63. <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  64. </httpModules>
  65. </system.web>
  66. <system.codedom>
  67. <compilers>
  68. <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
  69. <providerOption name="CompilerVersion" value="v3.5"/>
  70. <providerOption name="WarnAsError" value="false"/>
  71. </compiler>
  72. </compilers>
  73. </system.codedom>
  74. <!--
  75. The system.webServer section is required for running ASP.NET AJAX under Internet
  76. Information Services 7.0. It is not necessary for previous version of IIS.
  77. -->
  78. <system.webServer>
  79. <validation validateIntegratedModeConfiguration="false"/>
  80. <modules>
  81. <remove name="ScriptModule"/>
  82. <add name="CustomModule" type="CustomHandlerandModuleProject.CustomHttpModule"/>
  83. <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  84. </modules>
  85. <handlers>
  86. <remove name="WebServiceHandlerFactory-Integrated"/>
  87. <remove name="ScriptHandlerFactory"/>
  88. <remove name="ScriptHandlerFactoryAppServices"/>
  89. <remove name="ScriptResource"/>
  90. <add name="CustomHandlerFor.demo" verb="*" path="*.demo" type="CustomHandlerandModuleProject.CustomHttpHandler"/>
  91. <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  92. <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  93. <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  94. </handlers>
  95. </system.webServer>
  96. <runtime>
  97. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  98. <dependentAssembly>
  99. <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
  100. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
  101. </dependentAssembly>
  102. <dependentAssembly>
  103. <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
  104. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
  105. </dependentAssembly>
  106. </assemblyBinding>
  107. </runtime>
  108. </configuration>