Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [httpcontext]

Encapsulates all HTTP-specific information about an individual HTTP request.

2
votes
1answer
2k views

Why is HttpContext.Current set to null?

we are trying to access the user profile properties via SOM. Code is taken from reference as mentioned below. My question is: Why is HttpContext.Current set to null?. Code works even if we comment ...