public static string GetOperationName(this Microsoft.AspNetCore.Http.HttpRequest request) { var pathInfo = request.GetLastPathInfo(); return GetOperationNameFromLastPathInfo(pathInfo); } #endif