Вот одно из изменений:
- Action Filters now have four methods they can implement representing four possible interception points.
- OnActionExecuting which occurs just before the action method is called.
- OnActionExecuted which occurs after the action method is called, but before the result is executed (aka before the view is rendered in common scenarios).
- OnResultExecuting which occurs just before the result is executed (aka before the view is rendered in common scenarios).
- OnResultExecuted which occurs after the result is executed (aka after the view is rendered in common scenarios).
Комментариев нет:
Отправить комментарий