Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 34199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:02:27+00:00 2026-05-10T14:02:27+00:00

AOP is an interesting programming paradigm in my opinion. However, there haven’t been discussions

  • 0

AOP is an interesting programming paradigm in my opinion. However, there haven’t been discussions about it yet here on stackoverflow (at least I couldn’t find them). What do you think about it in general? Do you use AOP in your projects? Or do you think it’s rather a niche technology that won’t be around for a long time or won’t make it into the mainstream (like OOP did, at least in theory ;))?

If you do use AOP then please let us know which tools you use as well. Thanks!

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:02:27+00:00Added an answer on May 10, 2026 at 2:02 pm

    Yes.

    Orthogonal concerns, like security, are best done with AOP-style interception. Whether that is done automatically (through something like a dependency injection container) or manually is unimportant to the end goal.

    One example: the ‘before/after’ attributes in xUnit.net (an open source project I run) are a form of AOP-style method interception. You decorate your test methods with these attributes, and just before and after that test method runs, your code is called. It can be used for things like setting up a database and rolling back the results, changing the security context in which the test runs, etc.

    Another example: the filter attributes in ASP.NET MVC also act like specialized AOP-style method interceptors. One, for instance, allows you to say how unhandled errors should be treated, if they happen in your action method.

    Many dependency injection containers, including Castle Windsor and Unity, support this behavior either ‘in the box’ or through the use of extensions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need help making AOP work. What am I missing here? <?xml version=1.0 encoding=UTF-8?>
I see that there is PostSharp AOP support for Silverlight, but is there a
I need a good implementation of AOP paradigm for Codeigniter PHP Framework. What do
I have been using AOP for classic things like logging and security for a
we need to implement spring aop in our project. Is there any way in
want declarative transactional management example in spring aop........ Actually Here <aop:config> <aop:advisor advice-ref=addAdvice pointcut=execution(*
I recently read an interesting blog post on Anders Hejlsberg's arguments against AOP. The
I'm new to AOP and I was wondering if there is a good reasorce
Has anyone out there used Postsharp AOP framework in a production environment? Are there
Can anyone post an example of Aspect-oriented programming (AOP) that is not logging? I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.