views:

30

answers:

1

Pretty straight forward question: How do I build a thrift dll for use in a Windows Phone 7 application?

+1  A: 

I'm assuming you mean a Thrift client as a server wouldn't make a lot of sense on a phone.

Regardless, a quick scan of the white paper makes me think you can't as it requires use of sockets and these are not available to developers in WP7.

Beyond that it would be a case of writing an implementation of the interface specified by Thrift.
I know that is a very vague answer but it's a very vague question.

Matt Lacey
I mean a Thrift client offcourse :) I know there is an adaption of Thrift that are wrapped over HTTP, but I'm not sure it's been ported to C#. Maybe the only solution is to port it myself...
greve
@greve yes, you're going to port it if no one else has. I assumed your original question was basically "how do I port Thrift to run on WP7?" which is very vague.
Matt Lacey
I am _going_ to? You don't have to be rude there, mister. It isn't actually a very vague question since if there is an answer to it, it's pretty clear. If there isn't, the answer would simply be: do it yourselves - as we now have concluded it to be.
greve