0
kicks
5 Ways That Postsharp Can SOLIDify Your Code: Authorization
One of the best uses of AOP is to take cross-cutting concerns that repeat themselves over and over in your system, and move them into their own class. Authentication and authorization are important parts of many applications, but too often the code to check if a user is authorized is spread all over the app. A class should have one and only one reason to change, so let's get the "auth" stuff into its own class.