Azure Mobile Services provide a scalable backend for creating various applications. Telerik Platform provides a singular experience for creating mobile applications that can work with various backend systems.
In this webinar, we talk about how to consume Azure Mobile Services in a Telerik Platform application. We start from scratch and build up the first screen for showing data from the backend.
Slides used during the presentation are below:
The webinar recording can be found here:
The code shown during the webinar can be download from the GitHub Code Repository
The lucky winners who have won the trendy Telerik Ninja T-Shirt are:
- Nitin Verma
- Kahdeer KI
- Lokesh Jain
- Jayaprakash N
We will be contacting you soon to dispatch your prize.
Selected questions from the webinar are produced below:
Q: Can we deploy an application built for IOS store to Windows & Google at the same time ?
A: An app built for iOS will work only on iOS . You will need to build different packages for diff platform i.e. ipa for iOS, apk for Android and xap for Windows Phone. Telerik Platform allows you to build these different packages from the same code and machine.
Q: Is it possibe to view this application on browser instead of mobile?
A: yes … Kendo UI Mobile controls are HTML5 based so they will work as is in a browser. but you will need to remove the cordova initialization code as cordova wont work in a desktop browser
Q: For iOS binary,certificate and distribution profile is required for creating ipa file so in telerik how to create ipa fie?
A: AppBuilder service has provision to ingest your Apple certificate and distribution profile. It stores it in the cloud and uses the same to create the binary packaging. No extra effort is needed to sign the binary with the certificate and make it app store ready.
Q: The Azure key of the mobile apps is contained in a js file – is it not a security threat?
A: This is a Mobile App … So it gets packaged along with the app and sandboxed by the OS. Nobody other than the app code will have access to it. However, it is still susceptible to man in middle attack if proper steps during transmission are not taken.
Q: Does it makes any difference if we use standard WCF service instead of REST API?
A: A lot of difference. If you are designing for Mobile app – you need to keep in mind that the bandwidth on mobile devices is very small. so you cannot send too much data. Simple WCF is SOAP so just to send a name, you will be sending a lot of payload. It is better to create a REST based end point which sends data as JSON format. WebAPI and Azure Mobile Services are some of the options for creating REST based API.
Q: Are there any example on multiple page application using Kendo UI Mobile?
A: We have a lot of sample apps for Kendo UI Mobile – http://docs.telerik.com/platform/appbuilder/sample-apps/sample-apps – Check out the sample Airlines app.
Q: Can we host out MVC WebAPI project into Mobile services and make use of feature by Mobile services?
A: Yes, Azure Mobile Services allows for hosting of custom WebAPI projects. Mode information can be found here: http://blog.azure.com/2014/07/11/azure-mobile-services-why-should-asp-net-developers-care/
Q: I have already designed web app using CSS. How to convert code into the telerik mobile app code ?
A: A Web Page and a Mobile App are two different experiences. To create a mobile app, you will need functionality written separately using Kendo UI Mobile. To recreate the same look and feel as that of your web app, you can override specific Kendo UI Mobile classes with the CSS of the web app.
Q: Can i use backend MS SQL in a mobile app?
A: A Mobile App runs on a device. A MS SQL resides on a server. So, it is not directly possible to connect the two. Azure Mobile Services provides Hybrid Connection facility that can be used for connecting in-premise database to the cloud.