static method/field access in remoting
This is probably not a very wellknown fact, but static methods and fields accessed via a remoting proxy, are actually executed locally on the client side. So even though a type is configured to go remote static accesses/invokations dont go remote.
If you need to access static data on the server side, you need to wrap the static access with instance methods / properties or fields.
Comments
- Anonymous
January 21, 2009
PingBack from http://www.keyongtech.com/481455-how-can-a-cao-server