Hi Rob

The JSON part is easy. You can either roll it yourself, or use a
library like RestSharp, which wraps up a lot of it for you. Thats my
preference. ServiceStack may also work, tho it's not something I've
used personally.

.NET 4.5 stuff, however, doesn't _directly_ work on MonoTouch (or
Mono), so I doubt you'd be able to take your 4.5-generated client and
use it unchanged on MT. That said, I've not used 4.5 much, so I may be
very wrong there. A quick google around says it uses SAML 2.0, tho I
suspect you'll have to write a lot of it yourself.

You might be better off wrapping the 4.5 WIF stuff and exposing it as
a less-MS-specific manner. eg using oauth for the authentication, and
then wrapping it up on the server into a WIF call if needed.

Looking at this WebAPI tutorial:

http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api

It looks like it's all REST + JSON, which RestSharp / ServiceStack /
just doing it yourself is fairly easy.

Hope that helps

Nic



On Sun, Jul 15, 2012 at 10:22 AM, Netplay <[email protected]> wrote:
> Hi all,
>
> I am looking at writing a new mono touch iPhone application that will 
> integrate with a dot net 4.5 server with identity management and JSON 
> services exposed through the web API.
>
> Does anyone on these forums have experience with either identity management 
> or web API, or can advise on the compatibility with net 4.5 with mono touch?
>
> Regards,
> Rob
>
> (this email was produced on an iPad and I may have used the dictation feature)
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to