Skip to main content

Posts

Showing posts from November, 2016

Xamarin + Azure: Part 3 – Offline Sync

Scope
The following article covers a presentation and demo at Xamarin Dev Days in Mauritius. The article demonstrates how to get started with Azure Mobile Apps and benefit the powers of the cloud in terms of Scalability, Offline Sync and Data Analytics. This is the third part of the series where offline sync capabilities shall be added to the application. IntroductionThe objective of this article is to build on the sample app discussed in part 2 and add offline sync capabilities to it.  People using mobile apps are often on the move and are not always connected. Despite not having connectivity, the application users’ needs to be able to continue working and retrieve their data in offline mode. To achieve this, the Azure Mobile Service SDK provides offline sync capabilities using SQL Lite as local storage. ImplementationTo add offline sync, both the front end and the back end code of the client needs to be modified. Follow the steps below to proceed with the change. Install SQL Lite Insta…

Xamarin + Azure: Part 2 – Extend the Sample App

Scope
The following article covers a presentation and demo at Xamarin Dev Days in Mauritius. The article demonstrates how to get started with Azure Mobile Apps and benefit the powers of the cloud in terms of scalability, Offline Sync and Data Analytics. This is the second part of the series where we’ll extend the sample app discussed in part one. Introduction The objective of this article is to build on the sample app discussed in part 1 and add custom logic. In this demo, an App that will allow the attendees of Xamarin Dev Days to give feedback to the organizers will be created. The application will store the attendee name, the attendee feedback and a sentiment score. Modifying the Cloud Back EndAdding the Data ObjectThe first step is to add the data object. Therefore, create a new call called Feedback.cs in the DataObjects folder
Make sure that the class inherits from EntityData from Microsoft.Azure.Mobile.Server and add the attributes of the model as below.

Xamarin + Azure: Part 1 – The Basics

Scope
The following article covers a presentation and demo at Xamarin Dev Days in Mauritius. The article demonstrates how to get started with Azure Mobile Apps and benefit the powers of the cloud in terms of Scalability, Offline Sync and Data Analytics. 
This is the first part of the series where the basics of Azure App service is demonstrated.
IntroductionXamarin is a cross-platform implementation of the Common Language Infrastructure (CLI) and Common Language Specifications (often called Microsoft .NET). With a C#-shared code base, developers can use Xamarin tools to write native Android, iOS, and Windows apps with native user interfaces and share code across multiple 
platforms.



However, today, mobile apps can’t run stand-alone. The data need to be stored where it can be shared and the application should be able to scale as required. This is where the cloud helps us.