【ASP.NET】System.Web.Routing - PageRouteHandler Class
2024-10-15 07:37:02
用于提供一些属性和方法来定义如何将URL匹配到一个物理文件上面。
public PageRouteHandler (string virtualPath, bool checkPhysicalUrlAccess);
Parameters
- virtualPath
- String
The virtual path of the physical file of this Route object. The file must be located in the current application. Therefore, the path must begin with a tilde (~).
- checkPhysicalUrlAccess
- Boolean
If this property is set to false
, authorization rules will be applied to the request URL and not to the URL of the physical page. If this property is set to true
, authorization rules will be applied to both the request URL and to the URL of the physical page.
最新文章
- 「坐上时光机,查找编译压缩后的文件最初的样子」gulp-sourcemaps 使用说明
- IO流基本操作
- Enterprise Architect 学习 之 用例图
- CodePen 作品秀:Canvas 粒子效果文本动画
- 枚举 POJ 2965 The Pilots Brothers' refrigerator
- YYCache 源码分析(一)
- error: png.h not found.
- Data source rejected establishment of connection, message from server: &;quot;Too many connections&;quot;
- 简单好用用js就可以保存文本文件到本地
- Java XML Dom解析工具
- CSS之分组选择器和嵌套选择器
- Spring详解
- Java分布式锁
- package.json-nodeJs
- lambda表达式Bug——修改捕获变量失败
- u-boot-1.1.6第2阶段入口函数start_armboot分析
- 天天沉迷于皇上本宫的都是sb
- php 编译代码
- jqueryUI之datepicker日历插件的介绍和使用
- [Leetcode] unique paths 独特路径