本文内容

  • 引入
  • IHttpModule 概述
  • 创建自定义 HTTP 模块的步骤
  • 演示创建自定义 HTTP 模块
  •     HTTP 模块的工作方式
  •     HTTP 模块与 Global.asax 文件
  • 参考资料

 

引入

本文在 VS 2008 和 IIS 6 环境下概述如何利用 IHttpModule 自定义 HTTP 模块。

当我们在 VS 2008 里新建一个 Web 应用程序项目后,会在 Web.config 文件看到如下一个配置:

>
  <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>

相关文章:

  • 2021-05-07
  • 2022-12-23
  • 2021-09-18
  • 2021-12-12
  • 2021-10-16
  • 2021-12-04
猜你喜欢
  • 2021-07-11
  • 2021-10-19
  • 2021-09-30
  • 2021-07-07
  • 2022-12-23
  • 2021-11-26
  • 2021-08-21
相关资源
相似解决方案