2 Questions:
- Are Action Filters in MVC considered Aspect Oriented Programming (AOP)?
- If so, does .NET provide something similar for non MVC code (i.e. regular class library?)
The context is I want to add logging to a application. Instead of sprinkling logging code all over the place, I like the idea of being able to define rules for logging in one central location.
It seems that I can achieve this using an AOP technology (PostSharp). However, if there is something build in to .NET I would probably end up using that.