Re: [IronPython] What PythonEngine called my C# code? (was: custom ConfigurationSection in IronPython)

2006-09-20 Thread Jason Ferrara
In my case I'm looking to write assemblies in C# that makes use of modules defined in IronPython that others can use without having to know or care that they use IronPython (except for having to have the IronPython dlls around). Things are complicated by the fact that some of the modules us

Re: [IronPython] .NET remoting with IronPython

2006-09-20 Thread Dino Viehland
This is a known issue - an easier work around is to create a typed proxy in Python that holds onto the instance & the interface type and does calls through the interface type passing the instance as the 1st parameter. Bug 470 has the workaround code, http://www.codeplex.com/WorkItem/View.aspx?

[IronPython] .NET remoting with IronPython

2006-09-20 Thread Russell Lear
I'm trying to access a service that uses .NET remoting using IronPython.  I have a C# interface, something like:    interface IUserDB { ...    MyUser GetUser(string id);     };I've tried to get a remoted instance of that interface using the following python:     t = a.GetType("IUserDB")