基础知识

本文用到的基础知识:URL、HttpModule 与 HttpHandler、IIS 的请求处理过程。

URL

HttpModule与HttpHandler

IIS7.0的请求处理过程

 

OK,现在我们来看请求如何到达MVC:

一、Asp.Net Routing 如何起作用

我们知道IIS网站的配置可以分为两个块:全局 Web.Config 和本站 Web.Config 。

Asp.Net Routing属于全局性的,所以它配置在全局Web.Config 中,我们可以在如下路径中找到:

“$\Windows\Microsoft.NET\Framework\版本号\Config\Web.config“

>
<!-- the root web configuration file -->
>
>
>
/>
>
>
>

相关文章:

  • 2021-05-16
  • 2022-02-11
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2021-11-22
猜你喜欢
  • 2022-01-15
  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
  • 2021-09-06
  • 2022-02-03
相关资源
相似解决方案