摘要: Provides a way to specify that ASP.NET routing should not handle requests for a URL pattern. ex: The StopRoutingHandler class enables you to specify t 阅读全文
posted @ 2018-11-06 15:49 YanyuWu 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Provides a collection of routes for ASP.NET routing. The RouteCollection class provides methods that enable you to manage a collection of objects that 阅读全文
posted @ 2018-11-06 14:42 YanyuWu 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Provides properties and methods for defining a route and for obtaining information about the route. ex: The Route class enables you to specify how rou 阅读全文
posted @ 2018-11-06 14:35 YanyuWu 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 用于提供一些属性和方法来定义如何将URL匹配到一个物理文件上面。 Parameters virtualPathString The virtual path of the physical file of this Route object. The file must be located in 阅读全文
posted @ 2018-11-06 14:25 YanyuWu 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 你可以自己定义你的ASP.NET程序接收的get post put 或者delete请求。 使用这个约束的方式为: 参考资料: https://docs.microsoft.com/en-us/dotnet/api/system.web.routing.httpmethodconstraint?vi 阅读全文
posted @ 2018-11-06 14:19 YanyuWu 阅读(154) 评论(0) 推荐(0) 编辑