zoukankan      html  css  js  c++  java
  • HttpContext 和 HttpRuntime中的一些属性的值。

    HttpRuntime
    System.Web.HttpRuntime
        base {object}: object
        AppDomainAppId: "f8c24d4a"
        AppDomainAppPath: "C:\\Documents and Settings\\FCCA\\桌面\\abc\\"
        AppDomainAppVirtualPath: "/abc"
        AppDomainId: "f8c24d4a-1-127860256779375000"
        AspClientScriptPhysicalPath: "C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\asp.netclientfiles"
        AspClientScriptVirtualPath: "/aspnet_client/system_web/2_0_50727"
        AspInstallDirectory: "C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\"
        BinDirectory: "C:\\Documents and Settings\\FCCA\\桌面\\abc\\bin\\"
        ClrInstallDirectory: "C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\"
        CodegenDir: "C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files\\abc\\035b6080\\e2080f56"
        MachineConfigurationDirectory: "C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Config"

    HttpContext.Current.Request
        AnonymousID: null
        ApplicationPath: "/abc"
        AppRelativeCurrentExecutionFilePath: "~/Default.aspx"
        CurrentExecutionFilePath: "/abc/Default.aspx"
        FilePath: "/abc/Default.aspx"
        Path: "/abc/Default.aspx"
        PathInfo: ""
        PhysicalApplicationPath: "C:\\Documents and Settings\\FCCA\\桌面\\abc\\"
        PhysicalPath: "C:\\Documents and Settings\\FCCA\\桌面\\abc\\Default.aspx"
        RawUrl: "/abc/Default.aspx"
        Url: {http://localhost:2000/abc/Default.aspx}
        UrlReferrer: null
        UserHostAddress: "127.0.0.1"
        UserHostName: "127.0.0.1"

    HttpContext.Current.Request.Url
    {http://localhost:2000/abc/default.aspx}
        AbsolutePath: "/abc/default.aspx"
        AbsoluteUri: "http://localhost:2000/abc/default.aspx"
        Authority: "localhost:2000"
        DnsSafeHost: "localhost"
        Fragment: ""
        Host: "localhost"
        HostNameType: Dns
        IsAbsoluteUri: true
        IsDefaultPort: false
        IsFile: false
        IsLoopback: true
        IsUnc: false
        LocalPath: "/abc/default.aspx"
        OriginalString: "http://localhost:2000/abc/default.aspx"
        PathAndQuery: "/abc/default.aspx"
        Port: 2000
        Query: ""
        Scheme: "http"
        Segments: {维数:[3]}
        UserEscaped: false
        UserInfo: ""
  • 相关阅读:
    UITableView多选全选
    iOS16进制设置颜色
    svg矢量图
    canvas 时钟案例
    canvas 方块旋转案例
    canvas万花筒案例
    swiper(轮播)组件
    canvas介绍(画布)
    scroll-view组件
    view组件
  • 原文地址:https://www.cnblogs.com/fuyun/p/343385.html
Copyright © 2011-2022 走看看