From within my controllers action, do I have access to HttpContextBase?
From within my controllers action, do I have access to ht开发者_如何学编程tpcontextbase?
I have a method that takes httpcontextbase as a parameter.
You have access to HttpContext which derives from HttpContextBase
so you can cast it like the following:
(HttpContextBase) HttpContext
加载中,请稍侯......
精彩评论