Click here to Skip to main content
15,889,096 members
Everything / AOP

AOP

AOP

Great Reads

by Chris Copeland
A managed library for automated dependency injection, contract validation, and custom aspect-oriented decorator implementations
by Darek Danielewski
How to use AOP and System.Runtime.Caching.MemoryCache to improve application performance
by Antya Dev
In this tip, we will talk about logging and exception handling.
by Ilya Builuk
The article describes how to bring the Aspect-Oriented programming practices to the WP7 platform

Latest Articles

by David_Cui
A brief introduction to CrossCutterN tool remade for AOP programming in .NET technologies
by Utku Ozan ÇANKAYA
How to add logging to WCF services
by Utku Ozan ÇANKAYA
How to add authentication and authorization to WCF services
by fs7744
Norns.Urd is lightweight AOP framework based on emit which does dynamic proxy

All Articles

Sort by Score

AOP 

9 Jun 2020 by Chris Copeland
A managed library for automated dependency injection, contract validation, and custom aspect-oriented decorator implementations
20 May 2013 by Darek Danielewski
How to use AOP and System.Runtime.Caching.MemoryCache to improve application performance
17 Aug 2013 by Antya Dev
In this tip, we will talk about logging and exception handling.
25 Nov 2009 by Aviad P.
Post an article about it - I am sure creative people will find good uses for it.
26 Nov 2011 by Jammer
Hi All,I've been looking into AOP lately for a project and was wondering what the general consensus was in .NET land on this issue?There are a few different approaches to this one can take, seems that the "pure" idea of AOP is performing compiler weaving with tools such as PoitSharp. ...
2 Aug 2012 by Ilya Builuk
The article describes how to bring the Aspect-Oriented programming practices to the WP7 platform
9 Apr 2013 by David J Rundle
Handling the Faulted state and Closure of a WCF service when being used in a stateful application.
20 Feb 2015 by PIEBALDconsult
That's a terrible idea. I could write Method_C and call Method_B from it. How can you expect Method_B to be able to use whatever parameters Method_C has? Or would you want to somehow detect whether or not Method_B was called from Method_A and throw an execption if it wasn't?Method_A...
16 Apr 2011 by TweakBird
Have a look on Similar discussion on StackOverflow[^]Here MSDN Article[^] on AOP.P.S: Before posting your query, do some search on google. it's is free tool, always it will help to you.
9 Jan 2012 by Ganesan Senthilvel
Aspect Oriented Programming using Postsharp is more faster than Unity. Postsharp is highly preferable for the various reasons like code enhancement, suitability of large projects, etc.Detailed comparison table is available at: http://www.sharpcrafters.com/postsharp/alternatives[^]
27 Dec 2020 by fs7744
Easier to use MemoryCache with AOP example
16 Mar 2011 by Gary H Guo
Extend component functionality and address cross-cutting concerns using Dynamic Decorator in application development.
16 Apr 2011 by Ramu Sangabathula Original
I am looking for addressing cross cutting concerns using AOP style, can any one let me know the Aspect Oriented Programming libraries available for .Net applications.
12 Sep 2011 by Gary H Guo
Add AOP capabilities to Unity Container by configuration using Dynamic Decorator.
9 Jan 2012 by ashriv
Hello Friends, I am trying to develop a web Application with the concept of Aspect Oriented Programming using C#.Net 3.5 . I want to know the better way to Implement it.Shall I use Unity Concept or go with POSTSHARP? which one is better? Thanks.
31 Jan 2012 by KevonHoughton
I am new to Unity. I have a Behavior I would like to apply to all calls to a given namespace... A-la MyCompany.BusinessLogicI have a container and have added the Interception extensioncontainer.AddNewExtension();And have a behavior which implements IInterceptionBehavior called...
24 Jul 2012 by KevonHoughton
Unity 2.0 Interception via Method Decoration in verbose code
9 May 2012 by gowthammanju
Hi,i am doing some study based on post sharp to access the aop on dot-net..but i need some tutorials to study or any referencesmy purpose is1) i need to deploy a engine in which when the username with login URL and log out URL of some different developed project (ie. it can be...
12 Dec 2012 by Anoop X
Hi,I want to implement audit trail for my asp.net mvc application using spring.net aop with out affect my existing system. How to apply advice to my model classes and controller actions. Can you provide sample asp.net mvc application which implement spring.net mvc. please help...Thanks in...
3 Jul 2013 by aihua1
Now our project has done half of year, we need to add logging framework on our code.For example:Enter/Exit funtion and occur exception is common requirement.I'd like to use AOP to finish. But,spring.net AOP is face to interface, proxy only to use on interface,a class need inherit an interface...
4 Jul 2013 by Harshdeep Mehta (4700787)
Try Semantic Logging from Microsoft. It's little complex to implement, but it has advantages.http://channel9.msdn.com/posts/Introducing-Semantic-Logging[^]
1 Sep 2013 by Nelek
This is not how CP usually works. Most important goal here is to learn and help learning.You are supposed to try it on your own, and come here when you got stuck with something, with a concrete question about your code, design, etc. Please have a look to What have you tried?[^] to see a good...
8 Sep 2013 by Jameel VM
Go through this pdfhttp://www.ipcsit.com/vol1/26-A1596.pdf[^]Hope this helps
8 Sep 2013 by Sergey Alexandrovich Kryukov
Please see my comment to the question. I don't think this is a constructive question for this forum.Perhaps this article and its links will help you to catch up with main ideas: http://en.wikipedia.org/wiki/Aspect-oriented_programming[^].—SA
20 Feb 2015 by elnichu
If I pass parameters to a "Method A" and within this method call another "Method B" is not passed parameters. As I can get the values ​​of the parameters of the method of "A" in the "B " method.---------------------------------------------------------------------------------public...
20 Feb 2015 by phil.o
I'm trying to express your question in valid c# code:void MethodA(int param) { MethodB();}void MethodB() { // You cannot access MethodA's parameter here}Solution:- Pass the parameter to MethodB (but that means modifying MethodB's signature):void MethodA(int param)...
20 Feb 2015 by D. Christian Ohle
ICorDebugILFrame https://msdn.microsoft.com/en-us/library/ms232990[^]
21 Feb 2015 by mayooran99
Is it possible to create a child class of an aspect class and allow other classes to access the methods of the child aspect class? How can I achieve this? Please advice. Im using python 2.3
23 Feb 2015 by Sergey Alexandrovich Kryukov
Please don't re-post. The post will be automatically removed, due to some abuse reports.—SA
23 Feb 2015 by Member 11474312
I have written the code to Abstract Base class, How can i access the child class method (enviorment_trees) using another class? Is it possible? from abc import ABCMeta, abstractmethod class EnvironmentAsset(object): __metaclass__ = ABCMeta ...
27 Mar 2015 by mayooran99
I have a need to put the database connection and close methods to AspectJ class. Currently my add method looks like below:public void addBookDetails(String name, String author, String publisher, int year, int price){ Connection conn=null; DBConnection DBConn=new DBConnection();...
3 Apr 2015 by mayooran99
I have this following aspectJ class method which gives me the error,The type java.lang.charSequence cannot be resolved to a type error.before(String name) throws ServiceLayerException: call(void ServiceImplementation.displayBookDetails(String)) && args(name){ String sqlText =...
3 Apr 2015 by Richard MacCutchan
Probably because you spelled it incorrectly, as a glance at the documentation[^] shows.
28 Feb 2022 by Utku Ozan ÇANKAYA
How to add authentication and authorization to WCF services
28 Feb 2022 by Utku Ozan ÇANKAYA
How to add logging to WCF services
11 Sep 2013 by Guirec
A journey into AOP land with concerns, pointcuts, joinpoints, advices, aspects, interceptors, proxies, targets, mix-ins, composites...
16 Apr 2018 by Valerii Tereshchenko
Example of implementing logging using Aspect Oriented approach with DispatchProxy class
3 Jan 2018 by Alex Schunk
This how-to shows the usage of Cauldron.Interception.Fody and its capabilities.
31 Mar 2022 by David_Cui
A brief introduction to CrossCutterN tool remade for AOP programming in .NET technologies
12 Dec 2017 by Valerii Tereshchenko
Example of implementing logging using RealProxy class
11 May 2020 by Daniele Fontani
Learn how to configure dependency injection to make things happen by design
24 Jul 2013 by Antya Dev
KingAOP - It's an AOP framework which is essentially a free alternative of PostSharp.
23 Jun 2010 by Ashish Mundra
Demonstrates AOP for Exception Handling using Unity2.0 in ASP.NET application
1 Mar 2015 by Wieslaw Popielarski
MDC for scala's ExecutionContext
6 Jan 2011 by Mahmudul Haque Azad
This articles discusses the very basics of dependency injection in WPF for those who are new in WPF and Unity.
14 Aug 2016 by Yuriy I
Shows an introduction to a new AOP framework for .NET - AspectInjector
10 May 2011 by Gary H Guo
Apply components, aspects and dynamic decorator principles to ASP.NET application
2 Dec 2013 by Gerald Gomes
Starting modular application development using Prism, WPF, and Unity container.
29 Dec 2016 by Puresharper
A simple library can allow you to introduce Aspect-Oriented Programming without any difficulty
22 Nov 2009 by Philip Laureano
I've been playing around with IL lately and I think I've figured out a way to inject any IOC container (i.e. LinFu, Ninject, StructureMap, Autofac, etc) into any legacy application without changing the original source code. Would any have a use for this, or is this just a weird idea?
8 Mar 2011 by StevenHollidge
Simple and brief introduction to PostSharp and AOP style logging and monitoring
14 Sep 2015 by Nandlalaji Singh
Spring itself is vast. It has lots of features. But AOP is a really cool and powerful feature. This tip is for Spring developers who don't use AOP. This gives a view of AOP.
3 Apr 2013 by Darek Danielewski
How to create and apply TransactionScope using AOP.
29 May 2012 by Wbehning
It may be that I am going about this in the wrong way. I have implemented Unity Interception to handle my Logging and Exceptions. It works great, no logging or Exception Handling code in my domain. I want to use the same strategy for Authorization and Validation. However I always run into...
3 Jan 2021 by fs7744
Norns.Urd is lightweight AOP framework based on emit which does dynamic proxy
28 May 2012 by gowthammanju
I just want to know after creating a separate class file for creating an aspect using postsharp compiling it and taking that dll file and inject in to another dll there by accessing the class intercepts access in that another dll ...Is it Posssible...?that too it must be created in run...
4 Jul 2013 by Vipin kumar.P
Log4net is very simple to use yet powerful logging optionplease reffer the following linkHow to use log4net[^]
1 Sep 2013 by Thenmozhi D
Friends.. Please help me to develop a simple application using Aspect oriented... Please Specify the IDE to be used.. Explain the steps to be done please
8 Sep 2013 by Member 10261082
Please briefly explain me about AOP and its cross cutting concern concept???