My old code is as follows:
public static class DbHelper {
Since we do not have the HttpContext more easily accessible in the kernel, how can I achieve the same?
I need to easily access CurrentDb() from outside
I would like to use something like MemoryCache, but with Request lifetime. DI is not an option for this project
c # caching asp.net-core asp.net-core-mvc
Eduardo molteni
source share