[Ironpython-users] .NET Remoting and Interface based objects

Muyal,Tsahi Tsahi.Muyal at kla-tencor.com
Tue Oct 11 18:12:49 CEST 2011


Hi,

I am trying to call our .NET service via remoting using IronPython

I have the transparent proxy object but I don't know how to cast it to
the interfaces (that are implemented by the server side object) 

 

I tried IServerInterface.SomeMethod(transparent-proxy-object) but it is
failing with "expected IServerInterface, got MarshalByRefObject"

 

How can I cast it to an interface?

 

I am using 2.7

 

Thanks in advance,

Tsahi Muyal



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20111011/8089ba0d/attachment.html>


More information about the Ironpython-users mailing list