Skip to content

CP - AOP (ang. Aspect-Oriented Programming) to implement Monitor #458

@mpostol

Description

@mpostol

Describe problem

Implementation of the monitor concept using remoting is no longer supported. Consider using AOP (ang. Aspect-Oriented Programming) and apply aspects to your application at specific points.

Describe the solution you'd like

AOP lets you define behaviors that apply across many parts of a program (like “log every method call”) in a single, centralized module called an aspect. Instead of scattering the same code throughout multiple classes, AOP “weaves” these aspects into your application at specific points—called join points—based on rules known as pointcuts.

The most commonly used AOP packages for C# today include Metalama, PostSharp, Castle DynamicProxy, AspectCore, Fody, and Aspect Injector. These libraries help you implement cross‑cutting concerns such as logging, caching, and security without cluttering your core business logic.

List of tasks to be accomplished

TBD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Announcement 📰News related to the Programming in PracticeArchitecture changeUse to mark all issues causing architecture change.In waitingRemaining inactive until something happen.New Featurequestion

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions