postsharp
Suppress an attribute for a single method at compile time?
I\'m using PostSharp, and I\'d like to suppress (or change) an existing global attribute, for one method in the class.[详细]
2023-01-22 22:54 分类:问答Postsharp 2.0 Aspects not firing with .net 3.5 and visual studio 2008
I recently upgraded to the postsharp 2.0 community edition, and my postsharp aspects are no开发者_运维百科t firing.Is this a known issue?[详细]
2023-01-19 07:13 分类:问答PostSharp - What am I doing Wrong?
I have a project Company.Business that I\'m 开发者_如何学JAVAtrying to target with PostSharp to wrap my business layer.In the project Company.AOP, I have a method boundary aspect to use EL logging app[详细]
2023-01-16 06:30 分类:问答PostSharp access to original attribute markup string parameter
I have a POstSHarp attribute implementing OnMethodBoundaryAspect. The mark up is as follows: [ExceptionLogging(\"RepositoryLayer\")][详细]
2023-01-15 17:24 分类:问答Log4PostSharp project by inheriting from the ready-made (and working) custom attribute
Need to modify Log4PostSharp project by inheriting from 开发者_如何学JAVAthe ready-made (and working) custom attribute. It looks similar to this:[详细]
2023-01-14 17:34 分类:问答PostSharp 1.5 and .Net 4
Postsharp is great, but only the 1.5 version is still opensource.Does it work with .net 4.0?If not, are there any other good AOP weavers out there?开发者_StackOverflow社区I\'m not interested in the pr[详细]
2023-01-11 01:28 分类:问答What are the disadvantages of using this asynchronous logging code?
Some code I just wrote follows. It demonstrates applying a PostSharp aspect to a method for the purposes of recording the duration of the method invocation in an asynchronous manner - so that if the[详细]
2023-01-06 12:28 分类:问答Instrumentation of method calls in a web app using PostSharp
Example: I add a PostSharp attribute to a method to ensure a stopwatch is started before the method is called, and stopped just after the call returns. This method is used in a web app, so it will b[详细]
2023-01-06 02:36 分类:问答PostSharp build targets not running when using Debug configuration
I have setup a Visual Studio project that I have edited to reference the PostSharp build targets. I did not use the MSI installe开发者_运维知识库d to install PostSharp on my development machine.[详细]
2023-01-04 19:40 分类:问答Team City build fails after upgrade to VS 2010
I have a project that currently compiles happily on my dev machine using VS 2010 (presumably using MSBUILD v4.0), but it fails under MSBUILD v3.5 in Team City (running on a VM based on Win 2003 server[详细]
2023-01-04 08:01 分类:问答