Aspect-oriented Programming and Code Contracts in ASP.NET MVC
Posted
on Simple Talk
See other posts from Simple Talk
Published on Thu, 31 Oct 2013 00:00:00 GMT
Indexed on
2013/10/31
16:08 UTC
Read the original article
Hit count: 259
ASP.NET
There are some aspects to application programming, such as logging, tracing, profiling, authentication and authorization that cut across the business objects. These are difficult to deal with in an object-oriented paradigm without resorting to code-injection, code-duplication or interdependencies. In ASP.NET MVC, you can use attributes in the form of action filters to provide a neater way of implementing these cross-curring concerns.
© Simple Talk or respective owner