Skip to main content

ProfilingActionFilter

This filter can be applied globally to hook up automatic action profiling

Assembly: ServiceStack.Mvc.dll​
View Source​
Declaration
public class ProfilingActionFilter : ActionFilterAttribute

Methods​

OnActionExecuting(ActionExecutingContext)​

Happens before the action starts running

View Source​
Declaration
public override void OnActionExecuting(ActionExecutingContext filterContext)
Parameters​
TypeName
ActionExecutingContextfilterContext

OnActionExecuted(ActionExecutedContext)​

Happens after the action executes

View Source​
Declaration
public override void OnActionExecuted(ActionExecutedContext filterContext)
Parameters​
TypeName
ActionExecutedContextfilterContext