- Home /
Does unity(free) support .net 3.0 for use of wshttpbinding with my web service?
Question is in the title really. I didn't mention that it is a game for android and ios. Currently have it working with basichttpbinding but really need to add some security and not sure what my options are.
Answer by rutter · Jun 15, 2012 at 04:50 AM
Unity actually runs with version 2.6.3 of Mono, a cross-platform the .NET runtime which includes support for most of the core components. I've usually seen it compared to Microsoft's .NET 3.5, give or take a bit. You're probably best off looking up specific guides or comparisons if you have involved technical questions to research.
One major caveat: if you're deploying to iOS, all of your code must be compiled ahead of time ("AOT"), which prevents you from using reflection or other dynamic behaviors, and tends to break some libraries you might want to use. It can also cause some complications for projects which make heavy use of generics.
Wow I appreciate the answer but I must say most of that was straight over my head. I agree that unity itself is compared to .net 3.5 but am wondering if this is the case only for webplayers and not so when building for android and ios.
This webservice stuff and web security is a whole new field for me but as I understand it only .net 3.0 and above support SOAP 1.2 which is needed for wshttpbindings, if it only runs .net 2.0 then im restricted to SOAP 1.1 and left with basichttpbinding and restful services. This being the case I'm not sure how to secure these without an SSL certificate and I sure do not have the cash for that.
Are you saying it might be worth setting it up for wshttpbinding and giving it a shot as unity/mono is a bit of a fuddle when it comes to its .net capabilities?
Not sure if relevant but im pretty much using this technique at the moment for basichttpbinding : http://unifycommunity.com/wiki/index.php?title=Webservices_In_Unity
Your answer
![](https://koobas.hobune.stream/wayback/20220613072806im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
ECDiffieHellmanCng missing from unity? 1 Answer
Issue with TLS and X509 authentication 0 Answers
Add to .net Arrays 1 Answer
Open With... a Build Unity program 3 Answers
Finding all USES of a class or function .... at runtime. 3 Answers