C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Gaurav Gahlot(2)
Sardar Mudassar Ali Khan (2)
Sourav Kayal(2)
Rion Williams(1)
Jitendra Mesavaniya(1)
Rasmita Dash(1)
Nipun Tomar(1)
Jigar Desai(1)
Resources
No resource found
A Better Approach To Access HttpContext Outside A Controller In .Net Core 2.1
Aug 06, 2018.
In this approach, we are going to create a static AppContext class. This class is going to hold the current Http session as a property called Current.
Using HttpContext Outside An MVC Controller In .Net Core 2.1
Jul 20, 2018.
With .Net Core 2.1 we can not access the HttpContext outside a controller, however, we can use the IHttpContextAccessor to access the current session outside a controller.
Accessing Identity And HttpContext Info Using Dependency Injection In .NET Core
Oct 11, 2016.
In this article, you will learn how to access Identity and HttpContext Info using Dependency Injection in .NET Core.
HttpContextAccessor in Asp.NET Core Web API
May 27, 2023.
In ASP.NET Core Web API, the HttpContextAccessor class is a component that provides access to the current HTTP request and response context. It allows you to access various aspects of the HTTP request and response, such as headers, cookies, query parameters, and user claims.
HttpContext Class in ASP.Net
Apr 01, 2014.
This article provides a slow introduction to the HttpContext class and its use for authentication.
Difference Between HttpContext.Current.Items and HttpContext.Current.Session in ASP.Net
Jan 20, 2014.
In this small discussion you will see the difference between HttpContext.Current.Session and HttpContext.current.Item.
Enhancing Security with a Client IP Safelist in .NET
Jun 27, 2024.
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.
Optimize ASP.NET Core MVC Data Transfer with Custom Middleware
Feb 01, 2024.
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.
Learn about ASP.NET MVC Life Cycle
Oct 16, 2014.
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.
Update FormsAuthenticationTicket
Jul 27, 2012.
How to update the FormsAuthenticationTicket once it is created
HTTP Handlers for Images in ASP.NET
Jun 23, 2003.
Have you ever thought of streaming thumbnails just by passing query string indicating width or height of thumbnail you need, and most importantly passing those to image itself?