By maciejgren
via blog.goyello.com
Published: Dec 03 2009 / 04:52
Recently I have been working on quite a big website. From the very beginning I knew I would need data caching layer or something that will smartly do it. The simplest solution is just to check if something is in cache in my method code and take it from there. Well, but what if I have 100 methods? Should I call the same logic in all of them? This is only one method call, but still 100 times, makes me feel “this is not the smartest way to do it”. Fortunately I have found out a new approach to make my caching very robust and smart. It is called Aspect Oriented Programming. By using it I have reduced the amount of my code significantly.



Comments
RawThinkTank replied ago:
Trust me there is a amazing video in the link "PostSharp AOP Framework"
Good article
Voters For This Link (12)
Voters Against This Link (2)