<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>API on Ash Tewari</title><link>https://www.tewari.info/tag/api/</link><description>Recent content in API on Ash Tewari</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Sun, 20 Dec 2015 03:22:26 +0000</lastBuildDate><atom:link href="https://www.tewari.info/tag/api/feed.xml" rel="self" type="application/rss+xml"/><item><title>PackRaft with Xamarin and Microsoft Azure</title><link>https://www.tewari.info/2015/12/19/packraft-with-xamarin-and-microsoft-azure/</link><pubDate>Sun, 20 Dec 2015 03:22:26 +0000</pubDate><guid>https://www.tewari.info/2015/12/19/packraft-with-xamarin-and-microsoft-azure/</guid><description>&lt;p&gt;PackRaft is a cross-platform mobile application built with &lt;a class="link" href="http://developer.xamarin.com/" target="_blank" rel="noopener"&#10; &gt;Xamarin&lt;/a&gt;. It integrates with Microsoft Azure services, such as &lt;a class="link" href="https://azure.microsoft.com/en-us/services/storage/tables/" target="_blank" rel="noopener"&#10; &gt;Azure Table Storage&lt;/a&gt; and &lt;a class="link" href="https://azure.microsoft.com/en-us/services/app-service/" target="_blank" rel="noopener"&#10; &gt;Azure App Service&lt;/a&gt;. It is created with &lt;a class="link" href="http://developer.xamarin.com/guides/cross-platform/xamarin-forms/" target="_blank" rel="noopener"&#10; &gt;Xamarin.Forms&lt;/a&gt; for iOS and Android (Windows version will be coming soon).&lt;/p&gt;&#10;&lt;p&gt;&lt;a class="link" href="https://www.tewari.info/wp-content/packraft-android-riders.png" &gt;&lt;img alt="packraft-android-riders" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://www.tewari.info/wp-content/packraft-android-riders.png"&gt;&lt;/a&gt;&lt;a class="link" href="https://www.tewari.info/wp-content/packraft-iphone-assignments.png" &gt;&lt;img alt="packraft-iphone-assignments" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://www.tewari.info/wp-content/packraft-iphone5.png"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;The purpose of creating this sample application was to expand expertise in cross-platform mobile development with Windows Azure integration, specifically with Xamarin.Forms and Azure App Service. With Xamarin.Forms, it is possible to achieve close to 100% code reuse across these platforms for certain type of apps. Azure App Service provide a set of rich cloud backend services for your mobile applications.&lt;/p&gt;&#10;&lt;p&gt;&lt;a class="link" href="https://www.tewari.info/wp-content/PackRaft-Platform1.png" &gt;&lt;img alt="PackRaft-Platform" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://www.tewari.info/wp-content/PackRaft-Platform1.png"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;PackRaft allows the user to setup a fleet of vehicles of various seating capacities. Groups of riders are assigned to these rides according to the count of riders in each group. You can specify that certain groups be kept together on a single vehicle - and the app tries to honor those requests if possible. I did this via a rudimentary implementation of a bin packing algorithm. This implementation is deployed as an &lt;a class="link" href="https://azure.microsoft.com/en-us/services/app-service/api/" target="_blank" rel="noopener"&#10; &gt;API App&lt;/a&gt; in Microsoft Azure.&lt;/p&gt;&#10;&lt;p&gt;PackRaft uses &lt;a class="link" href="https://github.com/Azure/azure-mobile-services" target="_blank" rel="noopener"&#10; &gt;Azure Mobile Services SDK&lt;/a&gt; to persist Fleet data to Azure Table Storage and to authenticate users with Facebook and Microsoft accounts. Twitter and Google account authentication is also supported by Azure Mobile Services SDK out of the box and those will also be enabled in PackRaft soon.&lt;/p&gt;&#10;&lt;p&gt;PackRaft is available on Android, iPhone and iPad.&#10;&lt;a class="link" href="https://play.google.com/store/apps/details?id=com.ashtewari.packmyride&amp;amp;utm_source=global_co&amp;amp;utm_medium=prtnr&amp;amp;utm_content=Mar2515&amp;amp;utm_campaign=PartBadge&amp;amp;pcampaignid=MKT-AC-global-none-all-co-pr-py-PartBadges-Oct1515-1" target="_blank" rel="noopener"&#10; &gt;&lt;img alt="Get it on Google Play" class="gallery-image" data-flex-basis="810px" data-flex-grow="337" height="242" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://play.google.com/intl/en_us/badges/images/apps/en-play-badge.png" srcset="https://www.tewari.info/en-play-badge_8894513479543131546_hu_5bf219cf694dcfc4.png 800w, https://play.google.com/intl/en_us/badges/images/apps/en-play-badge.png 817w" width="817"&gt;&lt;/a&gt;&lt;a class="link" href="https://itunes.apple.com/us/app/packraft/id1059614859" target="_blank" rel="noopener"&#10; &gt;&lt;img alt="Download iOS app on App Store" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://www.tewari.info/images/Download_on_the_App_Store_Badge_US-UK_135x40.svg"&gt;&lt;/a&gt;&lt;/p&gt;&#10;</description></item></channel></rss>