Share via


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