【ASP.NET】System.Web.Routing - StopRoutingHandler Class
2024-08-24 22:06:10
Provides a way to specify that ASP.NET routing should not handle requests for a URL pattern.
ex:
routes.Add(new Route("{resource}.axd/{*pathInfo}", new StopRoutingHandler()));
The StopRoutingHandler class enables you to specify that ASP.NET routing should not handle certain URL requests. You prevent routing from handling certain requests by defining a route and specifying that the StopRoutingHandler class should be used to handle that route's pattern. When a request is handled by a StopRoutingHandler object, the StopRoutingHandler object blocks any additional processing of the request as a route. Instead, the request is processed as an ASP.NET page, Web service, or other ASP.NET endpoint.
最新文章
- 安装dubbo-admin遇到的问题和解决之道
- Comet、SSE、技术
- 【C语言入门教程】2.3 整型数据
- Aggregation 聚集
- PHP+七牛云存储上传图片代码片段
- hdu 5167 Fibonacci 打表
- ubuntu网络配置相关知识(转载)
- [转] 强大的python字符串解析
- PHP 注释 数据类型 变量的定义/输出 类型的获取/转换 可变变量
- redis 开启远程访问权限
- 数据库_存储过程简介(oracle版)
- MYSQLi数据访问查询数据
- python文件打包
- intellIJ IDEA配置maven相关问题记录
- 基于angular2+ 的 http服务封装
- java将int类型的变量转化成String类型的
- cocos2dx各个版本下载地址
- C# Debug
- cocos2dx 3.x 精灵重叠时点击最上层的精灵
- PollingProvider方法的使用及示例