zoukankan      html  css  js  c++  java
  • asp.net mvc controller 获取数据

    Request.QueryString           NameValueCollection                        GET variables sent with this request


    Request.Form                     NameValueCollection                        POST variables sent with this request


    Request.Cookies                 HttpCookieCollection                        Cookies sent by the browser with this request


    Request.Http                      Method string                                 The HTTP method (verb, such as GET or POST) used for this request


    Request.Headers                 NameValueCollection                        The full set of HTTP headers sent with this request


    Request.Url                        Uri                                                 The URL requested

    Request.UserHostAddress   string                                             The IP address of the user making this request


    RouteData.Route                RouteBase                                      The chosen RouteTable.Routes entry for this request


    RouteData.Values               RouteValueDictionary                       Active route parameters (either extractedfrom the URL or default values)


    HttpContext.Application      HttpApplicationStateBase                  Application state store


    HttpContext.Cache             Cache                                             Application cache store


    HttpContext.Items             IDictionary                                       State store for the current request


    HttpContext.Session          HttpSessionStateBase                      State store for the visitor’s session


    User                                 IPrincipal                                          Authentication information about the logged-in user


    TempData                         TempDataDictionary                         Temporary data items stored for the current user

  • 相关阅读:
    Win10 VMware虚拟机无法打开内核设备“\.Globalvmx86“
    搜索算法总结
    经典排序算法
    Markdown Test
    PAT L2-020 功夫传人【BFS】
    PAT l2-018 多项式A除以多项式B 【多项式+模拟】
    PAT l2-010 排座位 【并查集】
    二叉树的前中后序遍历关系 【非原创】
    PAT L2-005. 集合相似度 【stl set】
    PAT L2-004. 这是二叉搜索树吗?【前序遍历转化为后序遍历】
  • 原文地址:https://www.cnblogs.com/macil/p/2220552.html
Copyright © 2011-2022 走看看