1

I've got a problem. I Have a tool(threads manager) that receives some data and do some computation. I need to write Python client to send data to that tool...I thing I should use .NET Remoting, but how to do that? pls share some links where I can read or post some code...I can't google info about that...

P.S Python 2.7, NOT IronPython

2
  • Pick a protocol, write a server, write a client, done. Commented Nov 2, 2010 at 8:52
  • A little bit more details, please :) Commented Nov 2, 2010 at 8:54

3 Answers 3

1

.Net Remoting is designed for when you have .net at both ends so will be very hard to use from the Python end. (Event the XML encoding of .net remoting is not easy to use from other platforms)

I am assuming that Python has support for soap, if so I would look at using WCF at the .net end running over the “basic profile”. JSON is another option, there are lots of open source projects that add JSON support to .net, I assume that Python also has JSON surport.

Sign up to request clarification or add additional context in comments.

2 Comments

I'm interested in "JSON" solution,could you please explain me in two words how does it work in my situation?
I run .NET app and send JSON to it from Python client? How to do that (how to add capability to .NET app to receive data in that way?)
1

As for JSON, on .NET side you could try JsonFx. Then call it from python using any json-rpc client.

Comments

0

I would use XML-RPC for communication. It is very simple to implement (a couple lines of code in Python, not sure about .NET but it shouldn't be difficult there either) and should be enough in your scenario.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.