How to get started with Aspect Oriented Programming on the .NET platform?

Please give me some insight on how best to start applying Aspect Oriented Programming in your C # .net applications?

+3
source share
3 answers

PostSharp has the added benefit of doing this AOP by doing IL weaving. In fact, it adds code to Il when / or immediately after compilation. Which makes assemblies slower, but at run time it should be faster.

Some others do this at runtime (the lock project, and I think it works where AOP works), which is slower at runtime, but faster to build.

+5
source

Spring.NET. "Interceptor", -, .

/, . "" -.

+2

PostSharp is a pretty simple way to add aspects to your C # code.

+2
source

Source: https://habr.com/ru/post/1698914/


All Articles