有哪些学习 HttpContext、Request 和 Response 的好资源?

发布于 2024-09-26 07:04:20 字数 74 浏览 3 评论 0原文

我正在尝试了解 HttpContext、请求和响应。有哪些好的资源?我对教程(基本内容)的链接特别感兴趣。

谢谢 萨杰

I'm trying to learn about HttpContext, Request and Response. What are some good resources? I'm especially interested in links to tutorials (basic things).

thanks
saj

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

贱贱哒 2024-10-03 07:04:20

尝试 这个

this

顺便说一下,您也可以尝试使用 google.com 在网上进行一些搜索。

Try this

Or this

You could also try to use google.com for some searching on the net by the way.

虐人心 2024-10-03 07:04:20

如果您指的是 ASP.Net 中的 HttpContext,它是公开底层请求(传入消息)和响应(传出消息)流的关键对象。在较低级别,此对象由 IIS 和 ASP.Net 框架填充。

这意味着 HttpContext 可用于 .Net Web 应用程序内运行的任何业务对象(不仅仅是 ASPX 页面、ASCX 等)。

HttpContext.Current 提供对请求、响应、会话、缓存等的访问。

http://msdn.microsoft.com/en-us/library /system.web.httpcontext.aspx

有关 HTTP 基础知识(例如请求和响应),请参阅 Younes 提供的链接。

If you are referring to HttpContext in ASP.Net, it is a key object that exposes the underlying Request (incoming messages) and Response (outgoing message) streams. At a low level, this object is populated by IIS and the ASP.Net framework.

This means that HttpContext is available to any business object running inside of a .Net web application (not just an ASPX page, ASCX, etc).

HttpContext.Current provides access to Request, Response, Session, Cache, and more.

http://msdn.microsoft.com/en-us/library/system.web.httpcontext.aspx

For HTTP basics such as Request and Response, see the links that Younes provided.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文