Aspectacular with Vlad Hrybok

Topics covered
Popular Clips
Episode Highlights
Framework Basics
shares the origins and core principles of his Aspect Oriented Programming (AOP) framework, Aspectacular. He emphasizes its ability to enhance business logic by allowing developers to apply aspects without altering existing code structures. This flexibility is achieved through Aspectacular's proxy pattern, which enables developers to wrap inter-tier calls and add aspects like logging or exception handling as needed 1.
I don't understand why not everyone is rewriting their business logic in dull tiers with that as we speak. Because I think there is no justification for not having it.
---
Vlad's passion for AOP is evident as he describes the framework's potential to streamline processes and improve code efficiency 2.
  Â
Custom Aspects
Creating custom aspects with Aspectacular is straightforward, thanks to its user-friendly design. explains that developers can subclass the existing aspect class, which includes seven virtual methods representing different stages of a function call 3. These methods allow for precise control over when and how aspects are applied, enhancing both functionality and testing capabilities.
The aspect of framework is coming with just more than a handful aspects out of the box.
---
Built-in aspects, such as those for transaction management and authorization, further simplify development by providing ready-to-use solutions 4.
  Â
Interception Pros & Cons
Aspectacular offers explicit control over aspect application, distinguishing it from other frameworks like PostSharp. highlights the framework's ability to apply aspects at specific points, providing developers with greater predictability and control over execution paths 5. While this explicitness aids in debugging and testing, it also introduces performance considerations due to the overhead of expression tree parsing 6.
It's really easy to add to existing applications, brownfield applications. I can go in there, I can add exactly what I want to.
---
Despite these challenges, the interceptor pattern used by Aspectacular simplifies debugging and testing, making it a practical choice for many developers 7.
Related Episodes


Clean Code - How to Build Maintainable Systems
Answers 383 questionsASP.NET 5 - It's Basically Java
Answers 383 questionsDesign Patterns Part 1
Answers 383 questionsDesign Patterns Part 3
Answers 383 questionsDesigning Data-Intensive Applications – Scalability
Answers 383 questionsCaching in the Application Framework
Answers 383 questionsYou Asked For It
Answers 383 questionsHow to be a Programmer
Answers 383 questionsClean Code - How to Write Amazing Functions
Answers 383 questionsOWASP and You - Application Security in .NET
Answers 383 questionsC# 6 and Roslyn
Answers 383 questionsSOLID as a Rock
Answers 383 questionsNDepends on How Good Your Code Is
Answers 383 questions

3factor app - Async Serverless
Answers 383 questionsHow to be an Advanced Programmer
Answers 383 questions
