用于提供一些属性和方法来定义如何将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.

参考资料: https://docs.microsoft.com/en-us/dotnet/api/system.web.routing.pageroutehandler.-ctor?view=netframework-4.7.2#System_Web_Routing_PageRouteHandler__ctor_System_String_System_Boolean_

最新文章

  1. 「坐上时光机,查找编译压缩后的文件最初的样子」gulp-sourcemaps 使用说明
  2. IO流基本操作
  3. Enterprise Architect 学习 之 用例图
  4. CodePen 作品秀:Canvas 粒子效果文本动画
  5. 枚举 POJ 2965 The Pilots Brothers' refrigerator
  6. YYCache 源码分析(一)
  7. error: png.h not found.
  8. Data source rejected establishment of connection, message from server: "Too many connections"
  9. 简单好用用js就可以保存文本文件到本地
  10. Java XML Dom解析工具
  11. CSS之分组选择器和嵌套选择器
  12. Spring详解
  13. Java分布式锁
  14. package.json-nodeJs
  15. lambda表达式Bug——修改捕获变量失败
  16. u-boot-1.1.6第2阶段入口函数start_armboot分析
  17. 天天沉迷于皇上本宫的都是sb
  18. php 编译代码
  19. jqueryUI之datepicker日历插件的介绍和使用
  20. [Leetcode] unique paths 独特路径

热门文章

  1. 【2017-2-19】C#数据类型,数据转换,变量,常量,转义符
  2. mysql 问题:wait_timeout
  3. Python 构造一个可接受任意数量参数的函数
  4. redis启动
  5. Ant打包可运行的Jar包(加入第三方jar包)
  6. Java基础整理
  7. 【前端安全】JavaScript防流量劫持
  8. Redhat 简单本地yum 配置
  9. SQL SERVER镜像配置(包含见证服务器)
  10. vue2+animate.css