In the super helpful extension methods Get’blank’FromUrl, any suggestions for how to neatly track the duration of the GET using the request & response filter actions?
If not I guess the way would be to write a custom GetStringFromUrl wrapper with a stopwatch…
You may be able to use a HttpResultFilter to implement a custom IHttpResultsFilter to intercept calls and wrap the remaining impl within a Stopwatch, otherwise yeah calling a custom extension method that does this works too.
Thanks. Ain’t pretty, but at least the custom ext method acting as wrappers provide some verboseness to the caller.