7 posts about HttpContext by 6 contributors.
Know HttpContext? Share what you know with developers who are learning it.
Enhance your web application's security by implementing an IP safelist in ASP.NET Core. This technique restricts access to trusted IP addresses only, preventing unauthorized access. Our guide covers creating middleware to enforce the safelist, ensuring sensitive data and endpoints are protected effectively.
Understand the MVC life cycle from HTTP request to response. Learn about ASP.NET's Page class, IHttpHandler interface, and MVC's Controller. Explore RouteTable and UrlRoutingModule for routing requests. Dive into ControllerFactory, ActionMethod invocation, and ActionResult rendering like ViewResult.
In ASP.NET Core, middleware components are used to handle requests and responses as they flow through the application's pipeline. These middleware components can be chained together to process requests and responses in a specific order. Transferring data between middleware components can be achieved using various techniques.
Create a static helper around IHttpContextAccessor to access the current HttpContext and session from services outside an ASP.NET Core MVC controller.
Learn how to use IHttpContextAccessor to access HttpContext session data from a helper class outside an ASP.NET Core MVC controller.
How to update the FormsAuthenticationTicket once it is created
Create an ASP.NET HTTP handler that dynamically resizes and streams images using width or height query-string parameters, then configure it in web.config and IIS.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article