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

  • 相关阅读:
    张高兴的 UWP 开发笔记:用 Thumb 控件仿制一个可拖动 Button
    oracle并非所有变量都已绑定
    win7出现无法连接到代理服务器的错误,不能上网的问题的解决
    用asp.net c# HttpWebRequest获取网页源代码
    退出系统时跳出frame框架
    使用MagicAJax的AjaxPanel时有时会弹出"Using the AjaxCallHelper write methods outside of an AjaxCall is not allowed."
    UI学习网站
    Oracle服务无法启动,报:Windows无法启动OracleOraDb10g_home1TNSListener服务,错误 1067:进程意外终止。
    视频怎么下载大电脑上
    css模板
  • 原文地址:https://www.cnblogs.com/macil/p/2220552.html
Copyright © 2011-2022 走看看