DEV Community

Discussion on: Don't use HttpContext.Current, especially when using async

Collapse
 
mdora5251 profile image
mdora5251

I faced similar issues with HttpContext under the MVC namespaces. May this not regarding of your topic. I was aware that; HttpContext in MVC namespace and HttpContext within the System.Web namespace is not the same behavior. Because sometimes HttpContext within the MVC namespace getting null exception

Collapse
 
swimburger profile image
Niels Swimburger.NET ๐Ÿ”

Interesting, I wasn't aware of that.