I use PostSharp aspect below to validate Property of the class. [ProtoContract] public sealed class Web2Image : WebEntity
How do you execute custom code at compile time? Is there an attribute you can use to markup a static method which is then executed on each build?
I have a simple Cache attribute implemented using postsharp. When I set the cache policy I want to be able to set a update callback like below.
Ther开发者_如何学编程e are many Try/Catch blocks in my app to catch exceptions. I would like to read such handled exceptions and log them to a file. Is it possible to read handled exceptions with Post
I have a number of classes that call say Trace.WriteLine(\"LogSomethingClassSpecific\"), in various methods all over the place. Now I would like some of those classes to make all their Trace calls lik
I would like to share my scriptsharp models with MVC to use strongly typed JSON response from my controllers to the javascript code and vise versa.
I am trying to modify the sample trace app that ships with Postsharp so that the trace is applied to all classes in my namespace w开发者_开发技巧ithout explicitly putting the [QuickTrace] on top of ea
I have downloaded and installed the starter edition of postsharp and have entered my license key for postsharp on my machine using PostSharp 2.0 User options.When I check the project in and it runs 开
One of开发者_JAVA百科 my friends wants to use AppFabric caching on server side (WCF services). But to reduce similar functionality across services code, he wants to cache data \"automatically\" using
I have an postsharp attribute for handling exceptions in a entire dll ( that ddl is provided by other team) and manage database calls.