I am looking at adding logic to a library I am working on that would require the need for a Dynamic Proxy. I would like to get some advice from user's who have used these two library's in a production environment. Does one out perform the other, were there any shortcoming's which made you have to switch to the other, etc. Basically te...
I recently changes my NHibernate implementation from Version 2.1.0 to 2.1.2. For lazy loading I used the LinFu implementation using : NHibernate.ByteCode.Linfu.
Since I changed to the newest version I got the following error:
[SecurityException: That assembly does not allow partially trusted callers.]
NHibernate.ByteCode.LinFu.Proxy...
How can i implement automatic InotifypropertyChanged with LinFu?
...
This is a problem I've been struggling to solve for a while. I need a way to either replace code in the method with a parsed code from the template at compile time (PostSharp comes to mind) or to create a dynamic proxy (Linfu or Castle). So given a source code like this
[Template]
private string GetSomething()
{
var template = [%=Cus...