Saravanan
Saravanan

Reputation: 7844

Better approach to log the calls to the action methods in asp.net mvc

I want to log the calls to the action methods which is a better way, shall i use the actionfilterattribute or override the controller.

Upvotes: 0

Views: 66

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1039508

Action filter seems better and more reusable approach. You won't need to override each controller in which you wanted to log calls.

Upvotes: 2

Related Questions