Introduction to AOP in C#
Channel: Hassan Habib
Date: 2022-12-10

In this session, I'm going to show you how you can leverage DispatchProxy in C# to implement AOP.

This capability will allow you to add layers or aspects on top of your existing implementation of the functionality of any routine without polluting your business logic code with side-routines like tracing and logging.

Here's some useful links:
Demo Code:
https://github.com/hassanhabib/AOPDemo

DispatchProxy in .NET Core Blog:
https://devblogs.microsoft.com/dotnet/migrating-realproxy-usage-to-dispatchproxy/