- Home /
Is it possible to use WCF in scripts?
Hello everybody,
I was just wondering if it was possible to use WCF inside scripts.
Thx
BigBulle
Actually after having made some tests, I could not manage to make WCF working in Unity... $$anonymous$$y situation is that I have a working application that use WCF and I want to use it inside Unity. Has someone manage to use WCF inside Unity?
I wrote this up a while back, I hope it helps.
http://stpdev.wordpress.com/2011/07/14/consu$$anonymous$$g-a-wcf-service-from-unity3d/
I tried and failed, the same client call code runs fine in VS2010 but fail in Unity(TimeoutException,but it only return a int from localhost). I do imported 3 Dlls to Unity, any help?
Answer by DaveA · Jan 15, 2011 at 12:02 AM
Although I've not tried it, if it's supported by .Net, you should be able to import it ("using"). See http://msdn.microsoft.com/en-us/library/ms731067.aspx
Unity uses $$anonymous$$ono, not .NET. Also, not everything from $$anonymous$$ono is supported in Unity.
I seem to recall reading somewhere around here that one could put required DLLs in place and use things not directly supported, and/or change the .Net support settings.
Answer by tstpierre_nss · Jun 21, 2011 at 10:28 PM
Mono-Olive was merged into Mono itself according to:
edit: http://stpdev.wordpress.com/2011/07/14/consuming-a-wcf-service-from-unity3d/
Your answer
Follow this Question
Related Questions
I need help instantiateing a bullet 0 Answers
C# or UnityScript 4 Answers
Decreasing footstep length when key pressed 1 Answer
FPS Tutorial Part 3 Help needed 0 Answers
Have null errors 1 Answer