Home

Awesome

BikeSharing360

During our Connect(); event this year we presented 15 demos in Scott Guthrie’s and Scott Hanselman’s keynotes. If you missed the keynotes, you can watch the recording in Channel 9.

This year, we built the technology stack for a fictional company named BikeSharing360, which allows users to rent bikes from one location to another.

BikeSharing360 is a fictitious example of a smart bike sharing system with 10,000 bikes distributed in 650 stations located throughout New York City and Seattle. Their vision is to provide a modern and personalized experience to riders and to run their business with intelligence.

In this demo scenario, we built several apps for both the enterprise and the consumer (bike riders). You can find all other BikeSharing360 repos in the following locations:

BikeRider Xamarin app and Maintenance Cordova app

This repository contains the BikeRider consumer-facing mobile apps for renting bikes and the BikeSharing360 maintenance app built with Cordova.

Note: This document is about the Xamarin apps. For the Cordova app click here.

<img src="Images/hero_image.png" alt="BikeRider" Width="800" />

Supported Platforms: iOS, Android, and Windows

The BikeRider app is available for three platforms:

BikeRider features 93.7% code share across all platforms (7.34% iOS / 8.61% Android / 2.72% Windows).

Xamarin.Forms App (BikeRider)

Xamarin.Forms allows you to build native UIs for iOS, Android, and Windows from a single, shared codebase. You can dive into mobile development with Xamarin.Forms by following our free self-guided learning from Xamarin University. This project exercises the following patterns and features:

<img src="Images/UWP.png" alt="Three platforms" Width="800" />

Screens

<img src="Images/sign_up.png" alt="Sign Up" Width="210" /> <img src="Images/home.png" alt="Home" Width="210" /> <img src="Images/my_rides.png" alt="My rides" Width="210" /> <img src="Images/menu.png" alt="Main menu" Width="210" /> <img src="Images/profile.png" alt="Profile" Width="210" /> <img src="Images/new_ride.png" alt="New ride" Width="210" /> <img src="Images/report.png" alt="Report" Width="210" /> <img src="Images/event.png" alt="Event" Width="210" />

Licenses

This project uses some third-party assets with a license that requires attribution:

Requirements

Setup

Download or clone the repository. This is a solution with seven projects.

<img src="Images/Solution.png" alt="BikeRider" Width="300" />

Rebuild the solution to get all neccesary NuGet packages.

Access to GlobalSettings.cs file available in the Portable Class Library to introduce your Azure endpoints and APIs keys.

<img src="Images/GlobalSettings.png" alt="GlobalSettings.cs" Width="600" />

Deploy to Azure

Use the Backend Services repository to deploy backend services for Xamarin App to your subscription.

Enjoy!

How to sign up for Microsoft Azure

You need an Azure account to work with this demo code. You can:

Blogs posts and videos

Here's links to blog posts related to this project:

Clean and Rebuild

If you see build issues when pulling updates from the repo, try cleaning and rebuilding the solution.

Copyright and license

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.