Hi folks,
I build a framework that works with .Net Remoting and NHibernate Version 1.2.1 GA.
There is a server that deals with NHibernate and the loaded objects will be transmitted to the client side via the remoting channel.
This works very fine together so i have no reason to change the 1.2.1GA to a higher version.
The problem is lazy loading via remoting. Its not possible with the older version.
I read about the new features of the version 2.0. Now it is possible to inherit the Interceptor of the Castle.DynamicProxy2.
This should be the solution to my problem. But, if i create an object that implements lazyloading to nhibernate
it is not possible to deserialize this object on the client side.
The DynamicProxy2 uses a dynamic assembly and on the client side appears an TargetInvocationException with the argument, it is not possible to load this dynamic assembly.
I found not much about this dynamic assembly which is called "DynamicProxyGenAssembly2".
Has anyone a solution for me, how to make it known on the client side?
Sorry for my bad english.
Thx
KrassNub
|