Declarative Coding Approach to Caching in .NET Core with PostSharp

One of the first criteria of effective code is that it does its job with as few lines of code as possible. Effective code does not repeat itself. Less code in our codebases increases our chances of having less bugs. So, how do we avoid repeating ourselves? We apply our intelligence and abstraction skills to generalize behaviors into methods and classes, the constructs offered by C# to implement abstraction which we call encapsulation. However, some features such as logging or caching cannot b...

 •  0 comments  •  flag
Share on Twitter
Published on May 04, 2019 04:14
No comments have been added yet.