Show / Hide Table of Contents

Class LogRequestFilter

Filter to log the lifetime of a controller action. We log the begining and end of the execution.

Inheritance
System.Object
LogRequestFilter
Namespace: Celerik.NetCore.Web
Assembly: cs.temp.dll.dll
Syntax
public class LogRequestFilter : IActionFilter

Methods

OnActionExecuted(ActionExecutedContext)

Called after the action executes, before the action result.

Declaration
public void OnActionExecuted(ActionExecutedContext context)
Parameters
Type Name Description
ActionExecutedContext context

The context of the action filter.

OnActionExecuting(ActionExecutingContext)

Called before the action executes, after model binding is completed.

Declaration
public void OnActionExecuting(ActionExecutingContext context)
Parameters
Type Name Description
ActionExecutingContext context

The context of the action filter.

In This Article
Back to top Generated by DocFX