Modulating Crosscutting Concerns By The Decorator Design Pattern Vs. Aspect Oriented Programming In .NET
Loading...
Date
2020-01
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
This article describes and illustrates how to produce modular .NET software solutions by the use of Decorator design pattern and AspectOriented Programming (AOP) tool PostSharp. We applied both techniques for modularizing crosscutting concerns of a traditional modularization example: logging function. This work presents logging solutions with the use of Decorator and PostSharp to modularize associated cross issues, along with detailing the advantages and disadvantages of both solutions. Likewise, this work points out details of in PostSharp along with proposing the use of PostSharp and Decorator to achieve solutions with a higher level of modularity.
Description
Keywords
AOP, .NET, Decorator, PostSharp, Crosscutting Concerns, Aspects