• 大小: 7.01M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 验证  asp.net  正则  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Compilation;
using System.Web.Routing;
using System.Web.UI;

public class CustomRouteHandler : IRouteHandler
{
    public string VirtualPath { get; private set; }

    public CustomRouteHandler(string virtualPath)
    {
        this.VirtualPath = virtualPath;
    }

    public IHttpHandler GetHttpHandler(RequestContext requestContext)
    {
        var page = BuildManager.CreateInstanceFromVirtualPath(VirtualPath typeof(Page)) as IHttpHandler;
        return page;
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-01-02 02:44  regex-storm-master\
     文件         483  2016-01-02 02:44  regex-storm-master\.gitattributes
     文件        1970  2016-01-02 02:44  regex-storm-master\.gitignore
     目录           0  2016-01-02 02:44  regex-storm-master\Core\
     文件        2731  2016-01-02 02:44  regex-storm-master\Core\Core.csproj
     文件         582  2016-01-02 02:44  regex-storm-master\Core\CustomRouteHandler.cs
     文件         493  2016-01-02 02:44  regex-storm-master\Core\MasterPagebase.cs
     文件        6389  2016-01-02 02:44  regex-storm-master\Core\Pagebase.cs
     目录           0  2016-01-02 02:44  regex-storm-master\Core\Properties\
     文件        1384  2016-01-02 02:44  regex-storm-master\Core\Properties\AssemblyInfo.cs
     文件         500  2016-01-02 02:44  regex-storm-master\Core\UserControlbase.cs
     目录           0  2016-01-02 02:44  regex-storm-master\Extras\
     文件         488  2016-01-02 02:44  regex-storm-master\Extras\Colors.txt
     目录           0  2016-01-02 02:44  regex-storm-master\Extras\Mockups\
     文件     2306218  2016-01-02 02:44  regex-storm-master\Extras\Mockups\mockup1.psd
     文件     3110014  2016-01-02 02:44  regex-storm-master\Extras\Mockups\mockup2.psd
     文件     6788034  2016-01-02 02:44  regex-storm-master\Extras\Mockups\mockup3.psd
     文件     6611037  2016-01-02 02:44  regex-storm-master\Extras\Mockups\mockup4.psd
     文件     4564228  2016-01-02 02:44  regex-storm-master\Extras\Mockups\mockup5.psd
     文件     5662741  2016-01-02 02:44  regex-storm-master\Extras\Mockups\mockup6.psd
     文件     3796333  2016-01-02 02:44  regex-storm-master\Extras\Mockups\mockup7.psd
     文件        5816  2016-01-02 02:44  regex-storm-master\Extras\Old Global.txt
     目录           0  2016-01-02 02:44  regex-storm-master\Extras\Screenshots\
     文件        4433  2016-01-02 02:44  regex-storm-master\Extras\Screenshots\gzip-compression.gif
     文件       47377  2016-01-02 02:44  regex-storm-master\Extras\Screenshots\mockup1.png
     文件      100773  2016-01-02 02:44  regex-storm-master\Extras\Screenshots\mockup2.png
     文件      163540  2016-01-02 02:44  regex-storm-master\Extras\Screenshots\mockup3.png
     文件      158064  2016-01-02 02:44  regex-storm-master\Extras\Screenshots\mockup4.png
     文件       85641  2016-01-02 02:44  regex-storm-master\Extras\Screenshots\mockup5.png
     文件       75618  2016-01-02 02:44  regex-storm-master\Extras\Screenshots\mockup6.png
     文件       60636  2016-01-02 02:44  regex-storm-master\Extras\Screenshots\mockup7.png
............此处省略125个文件信息

评论

共有 条评论