Monday, August 6, 2018

A Better Approach To Access HttpContext Outside A Controller In .Net Core 2.1

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.

source https://www.c-sharpcorner.com/article/a-better-approach-to-access-httpcontext-outside-a-controller-in-net-core-2-1/

No comments:

Post a Comment