Sample project for using ASP.NET Web API in Xamarin iOS apps

iOS Simulator

This lab goes through the process of creating an ASP.NET Web API project in Visual Studio, and then writing an iOS app using Xamarin to consume the API. With these tools though, you can just as easily write an application that works for iOS, Andriod and Windows Phone.

By the end of this lab you will be able to:

  • Create an ASP.NET MVC & Web API Project
  • Create an iOS app using Xamarin

This application can also work for Windows Phone or Android by creating a different UI for those platforms. Xamarin has a number of tutorials on how to do this.

With this app, we’ll be able to add “People” to our database hosted in Azure by using our the MVC part of our Web API project, and we’ll be able to view the “People” from our Xamarin iOS app.


You can find all of the lab’s material on my GitHub. 




Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.