I am using an ActionFilter to log all action calls of my ASP.NET Web API project. The OnActionExecuted method tells a lot about what's been happening.
I just can't figure out how to find an efficient way to measure execution time...
Thanks for any help!
Something like this should do the trick...
Here we store a new
Stopwatch
in the request properties and stop it when the request has completed.