An MVC4, iOS And Android App With ServiceStack, Xamarin and C#

In this course, we'll learn how to build a cross platform application for Android, iOS and the web using ServiceStack and the Xamarin tools.
Course info
Rating
(245)
Level
Intermediate
Updated
Aug 15, 2013
Duration
3h 16m
Table of contents
Introduction
Creating The REST API
Creating The MVC 4 App
Creating The Android App
Creating The iOS App
Description
Course info
Rating
(245)
Level
Intermediate
Updated
Aug 15, 2013
Duration
3h 16m
Description

It can be very difficult to build a cross platform application that will work on the web as well as popular mobile platforms like Android and iOS. In this course, I’ll take you through the complete process of creating an application that works on each of the platforms and uses a REST based backend API to share data and business logic—all using C#. We’ll start off this course by learning how to build a REST based API using the popular open source framework ServiceStack. I’ll show you how easy it is to get ServiceStack set up and even how to store data for the API using a Redis database. Next, I’ll show you how to create an ASP.NET MVC 4 application that uses the REST service we built to display it's data and implement it's logic. We’ll learn how to use JQuery to make AJAX calls to a REST based API from within our MVC 4 application. Then, we’ll learn how we can use C# and the .NET framework to build an Android application using the Xamarin tools. We’ll use the same REST API, we created earlier and build a real native Android application that is able to consume that API for implementing its logic and displaying data. Finally, I’ll show you how to do the same thing for an iOS application. We’ll again use C# to build a real native iOS application with the Xamarin tools and learn how to consume REST based web services from iOS. So, if you are a C# developer and don’t want to have to learn several other programming languages to build cross platform applications; you’ll definitely want to check out this course. By the end of this course, you’ll have the skills you need to be able to implement an end-to-end cross platform solution complete with a REST based API backend all in C#.

About the author
About the author

John Sonmez is the founder of Simple Programmer (http://simpleprogrammer.com), where he tirelessly pursues his vision of transforming complex issues into simple solutions

More from the author
Beginning Lua
Intermediate
2h 50m
2 Dec 2013
Beginning HTML 5 Game Development With Quintus
Intermediate
2h 52m
25 Oct 2013
Beginning HTML5 Apps For Firefox OS
Intermediate
2h 20m
17 Oct 2013
More courses by John Sonmez
Section Introduction Transcripts
Section Introduction Transcripts

Introduction
Hi, this is John Sonmez from Pluralsight, and welcome to this course on building an MCV4, iOS, and Android App with ServiceStack, Xamarin, and C#. Users are expecting more and more from applications today than they ever have before. It's no longer acceptable to build just a Windows version of your application that has to be installed, and even completely web-based applications are often frowned upon today. Instead, users today want to be able to use your application on whatever device they happen to be holding, and they expect it to work. This expectation can make it very difficult to build an application today because most of the popular platforms, like web, Android, and iOS, use different technologies and programming languages. This course is aimed at presenting you a solid solution to this problem by allowing you to put most of your logic behind a REST-based web service and show you how to build applications for the web, Android, and iOS, all using C#.

Creating The REST API
Hi, this is John Sonmez from Pluralsight, and in this module we'll be creating the REST API for our application. The REST API we'll be building in this module will be the hub for the rest of our application. Each client application we create will end up using this REST API for doing all of its work and getting the data it needs to display. In this module, I'm going to take you through the process of designing this API, then I'll show you how to get set up with ServiceStack and Redis, to actually build it. By the end of this module, you should understand enough about REST API design, ServiceStack, and Redis to be able to create a simple REST-based web service that is able to store and retrieve data.

Creating The MVC 4 App
Hi, this is John Sonmez from Pluralsight, and in this module we're going to see how we can create an ASP. NET MVC4 application that uses the ServiceStack API we created in the last module to implement its functionality. We happen to be using MVC4 in this module, because it's one of the most widely used frameworks for creating a web application in. NET. But, as you'll see in this module, we aren't really going to be using very many features of MVC4 at all. Instead, we'll focus on building an application that mostly uses JavaScript and AJAX calls through jQuery to update and display its data. The most important thing to get from this module is how to utilize the API we have built in a web application, regardless of the web application technology. By the end of this module, you should be able to create a very simple MVC application that uses jQuery to make AJAX calls to a REST-based API.

Creating The Android App
Hi, this is John Sonmez from Pluralsight. In this module, we'll be using the Xamarin tools to build an Android version of our Protein Tracker application, which will be able to communicate with our Protein Tracker REST-based API. We're going to cover quite a bit in this module, but we aren't going to dive very deep into any of the topics. I'll be showing you how to get set up with the Xamarin tools to develop an Android application in C#, as well as how to get and build a version of the ServiceStack client that will work with Xamarin. Android. We'll also just be covering the very basics of building an Android application, so by the end of this module, you should be able to create a simple Android application in C# that can communicate with a ServiceStack-based REST service.

Creating The iOS App
Hi, this is John Sonmez from Pluralsight, and in this module we'll be creating a iOS version of our Protein Tracker application using the Xamarin tools. In this module, I'll be showing you how to set up the Xamarin tools on your Mac, and then how to create a iOS application with C# that will be able to use the Protein Tracker API we've been using in the past few modules to implement its functionality. By the end of this module, you should understand the basics of creating an iOS application with Xamarin. iOS, and know how to connect that iOS application to a REST-based web service.