Share your location as a text message using Azure Functions and Twilio

Intermediate
Developer
Azure
Visual Studio
Azure Functions
Azure Portal

Learn how to use location tracking on your phone mixed with Azure Functions and Twilio to share your location with your friends as a text message.

Learning objectives

In this module, you will:

  • Create a cross-platform Xamarin.Forms app that uses Xamarin.Essentials
  • Create a cross-platform UI using XAML with application logic in a viewmodel, and bind properties in a viewmodel to the UI
  • Detect the user's location
  • Create the Azure Functions with an HTTP trigger and run it locally
  • Call the Azure Functions from a mobile app, passing data as JSON
  • Bind the Azure Functions to Twilio to send an SMS message
  • Publish an Azure Functions app to Azure

Prerequisites

  • Visual Studio 2019 or later
  • A free Twilio account
  • You need an Azure subscription to complete the exercises. If you don't have an Azure subscription, create a free account and add a subscription before you begin. If you're a student, you can take advantage of the Azure for students offer.