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: ""
  • 相关阅读:
    Java面试题
    verilog之锁存器和触发器
    verilog基本语法之always和assign
    verilog之基本结构
    ZYNQ7000系列学习之TF卡读写实验
    英语文档阅读学习系列之ZYNQ-7000 All Programmable SOC Packaging and Pinout
    物理之纳电子
    英语文档阅读学习系列之Zynq-7000 EPP Software Developers Guide
    嵌入式C语言设计学习
    ZYNQ7000系列学习之自定义模块构成IP
  • 原文地址:https://www.cnblogs.com/fuyun/p/343385.html
Copyright © 2011-2022 走看看