I want to get the current method name of my ASP.NET Core controller
ASP.NET Core
I have tried getting the method name through reflection:
[HttpGet]
Use the StackTrace class snd its GetFrames until you find the one you want.