Sponsored by
#AzConfDev
#AzConfDev
Taking Mobile Development Serverless
with Xamarin & Azure Functions
James Montemagno
Program Manager Lead - .NET Community
Microsoft
#AzConfDev
Essentials for mobile success
Intelligent cloudBuild, test, distribute, learnBeautiful native apps
.NET
C# C#
Xamarin.Essentials
C#
Xamarin.Forms - UI
Shared C# codebase • 100% native API access • High
performance
Shared C#
Business Logic
Delight Developers
#AzConfDev
Native API Access
#AzConfDev
Flashlight
Geolocation
Preferences
Device Info
Device Display Info
Secure Settings
Accelerometer
Battery
Clipboard
Compass
Connectivity
Data Transfer
Email
File SystemGeocoding
Gyroscope
Magnetometer
Phone Dialer
Screen Lock
Sms
Text to Speech
Vibration
Xamarin.Essentials
Xamarin.Forms
Serverless
Azure Functions
Functions Scenarios
Functions Scenarios
Functions Scenarios
islandtracker.app
Friend System
Shell Navigation Service
Shell.Current.GoToAsync("detail");
Shell Navigation Service
Shell.Current.GoToAsync("..");
Shell Navigation Service
Shell.Current
.GoToAsync($"detail?id={city.id}");
Shell Navigation Service
[QueryProperty("CityId", "id")]
public partial class CityDetailPage :
ContentPage
{
public CityDetailPage()
{
InitializeComponent();
}
public string CityId
{
set
{
// do something with the Id
}
}
}
acislandtracker://
friends/invite
?id=2e179afb-8233-
46f2-8a44-eecdc7f514da
&name=Motz-Test
Thank you.
github.com/jamesmontemagno/app-islandtracker
islandtracker.app
James
Montemagno
Principal Lead Program Manager – .NET Community, Microsoft
motz@microsoft.com Montemagno.com @JamesMontemagno
Weekly development podcast
mergeconflict.fm

Taking Mobile Development Serverless with C#

Editor's Notes

  • #5 You can build anything with .NET. .NET is a free, cross-platform, open source developer platform for building many different types of applications. With .NET, you can use multiple languages, editors, and libraries to build for web, mobile, desktop, gaming, and IoT. .NET is designed to be general-purpose so that once a developer learns how to build one type of application, they can quickly build other types of applications for completely different workloads – developer skills can easily transfer to other domains using the same languages and libraries. .NET enables developers to be more productive building feature-rich applications of any type, for any device with great performance.
  • #7 Xamarin enables you to use C# to access all of iOS, Android, and Windows using .NET. You can even write your UI in C# and use the same storyboards and xml for native UI. Xamarin helps you even more by sharing your UI using C#, XAML, and common .NET patterns such as MVVM with Xamarin.Forms, and providing a unified device API library with Xamarin.Essentials for common access to things like GPS, secure storage, file system, and more.
  • #8 The first part in the head projects is access to any of the unique APIs in iOS and Android. You have access to them all in C#. Now, these do have to be written in the head project and aren’t shared since they are unique to each platform. However, the Xamarin team has a way to help us out there.
  • #9 Which is Xamarin.Essentials. An open source library that abstracts common native features into a single cross platform API for iOS, Android, and Windows. These are APIs that exist across each platform so why not bring them together.
  • #10 What about the user interface? Just like APIs you can build the native UI for each platform. However, many developers choose to share all or most of the UI with Xamarin.Forms
  • #11 Miguel