As the title suggests. How do I access IConfiguration, Cookies and my DBContext in the same action filter using ASP.NET Core 2.x?
I can find many articles that suggest how to do one or the other but I can't find anything to do even two let alone all three.
When I try to combine the articles I usually get one or more runtime errors.
Is there a way to do this. I have a really useful library I am trying t port over from ASP.Net and I don't really want to rewrite it all.
Any help or working examples would be very much appreciated. Thanks