SlideShare une entreprise Scribd logo
1  sur  26
#XamarinDevDays
We Apps!
189M
downloads
a day
200mins on
phone
127mins in
apps
The average app user has 36 apps installed on his
or her phone.
Only 1/4 are used daily:
1/4 of apps are never used!
http://opensignal.com/coverage-maps
Shared C# codebase • 100% native API access • High performance
iOS C# UI Windows C# UIAndroid C# UI
Shared C# Mobile C# Server
Linux/Mono
CoreCLRAzure
Shared C# Client/Server
RESTAPI
Offline
sync
Facebook Twitter Microsoft Google Azure Active
Directory
Azure Mobile Apps
WindowsAndroid
Chrome
iOS
OSX
In-AppKindle
Backend code
SQL MongoTables O365 API Apps
Offline Sync
Create a Mobile Service
MobileService = new MobileServiceClient(
"https://myapp.azurewebsites.net");
Create Tables
IMobileServiceSyncTable<Store> table;
public async Task Init()
{
const string path = "syncstore.db";
var db = new MobileServiceSQLiteStore(path);
db.DefineTable<Store>();
}
var handler = new MobileServiceSyncHandler();
await MobileService.SyncContext.InitializeAsync(db, h);
table = MobileService.GetSyncTable<Store>();
Get and Modify Data
public async Task<IEnumerable<Store>> GetStoresAsync()
{
await table.PullAsync("allStores", table.CreateQuery());
return await table.ToEnumerableAsync();
}
public async Task<Store> AddStoreAsync (Store store)
{
await table.InsertAsync (store);
await table.PullAsync("allStores", table.CreateQuery());
await MobileService.SyncContext.PushAsync();
return store;
}
Let’s add a backend
So Much More
Shared C# codebase • 100% native API access • High performance
iOS C# UI Windows C# UIAndroid C# UI
Shared C# Mobile C# Server
Linux/Mono
CoreCLRAzure
Shared C# Client/Server
Lunch!
Alejandro
Ruiz
CTO @ Los Xamarinos
alejandro@alejandroruizvarela.co
m
http://alejandroruizvarela.blogspot.mx @alejandroruizva

Contenu connexe

Tendances

TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...James Montemagno
 
Introduction to Mobile Development with Xamarin -DotNet Westide
Introduction to Mobile Development with Xamarin -DotNet WestideIntroduction to Mobile Development with Xamarin -DotNet Westide
Introduction to Mobile Development with Xamarin -DotNet WestideJames Montemagno
 
Oxford .NET - Go Mobile with Xamarin
Oxford .NET - Go Mobile with XamarinOxford .NET - Go Mobile with Xamarin
Oxford .NET - Go Mobile with XamarinJames Montemagno
 
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual StudioGetting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual StudioMark Arteaga
 
Xamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin University Presents: Ship Better Apps with Visual Studio App CenterXamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin University Presents: Ship Better Apps with Visual Studio App CenterXamarin
 
Building Your First Xamarin.Forms App
Building Your First Xamarin.Forms AppBuilding Your First Xamarin.Forms App
Building Your First Xamarin.Forms AppXamarin
 
Customizing Xamarin.Forms UI
Customizing Xamarin.Forms UICustomizing Xamarin.Forms UI
Customizing Xamarin.Forms UIXamarin
 
Native iOS and Android Development with Xamarin
Native iOS and Android Development with XamarinNative iOS and Android Development with Xamarin
Native iOS and Android Development with XamarinJames Montemagno
 
Highlights from the Xamarin Evolve 2016 conference
Highlights from the Xamarin Evolve 2016 conferenceHighlights from the Xamarin Evolve 2016 conference
Highlights from the Xamarin Evolve 2016 conferenceChristopher Miller
 
Cross Platform Development with Xamarin
Cross Platform Development with XamarinCross Platform Development with Xamarin
Cross Platform Development with XamarinXpand IT
 
Xamarin Platform
Xamarin PlatformXamarin Platform
Xamarin PlatformRui Marinho
 
Building Your First Android App with Xamarin
Building Your First Android App with XamarinBuilding Your First Android App with Xamarin
Building Your First Android App with XamarinXamarin
 
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for XamarinDesktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for XamarinXamarin
 
web apiで遊び倒す
web apiで遊び倒すweb apiで遊び倒す
web apiで遊び倒すKeiichi Daiba
 
.NET North UG - What’s new & next for Xamarin developers
.NET North UG - What’s new & next for Xamarin developers.NET North UG - What’s new & next for Xamarin developers
.NET North UG - What’s new & next for Xamarin developersJames Montemagno
 

Tendances (20)

Azure mobile services
Azure mobile servicesAzure mobile services
Azure mobile services
 
Xamarin DevOps
Xamarin DevOpsXamarin DevOps
Xamarin DevOps
 
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin an...
 
Introduction to Mobile Development with Xamarin -DotNet Westide
Introduction to Mobile Development with Xamarin -DotNet WestideIntroduction to Mobile Development with Xamarin -DotNet Westide
Introduction to Mobile Development with Xamarin -DotNet Westide
 
Xamarin microsoft graph
Xamarin microsoft graphXamarin microsoft graph
Xamarin microsoft graph
 
Oxford .NET - Go Mobile with Xamarin
Oxford .NET - Go Mobile with XamarinOxford .NET - Go Mobile with Xamarin
Oxford .NET - Go Mobile with Xamarin
 
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual StudioGetting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
 
Xamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin University Presents: Ship Better Apps with Visual Studio App CenterXamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin University Presents: Ship Better Apps with Visual Studio App Center
 
Building Your First Xamarin.Forms App
Building Your First Xamarin.Forms AppBuilding Your First Xamarin.Forms App
Building Your First Xamarin.Forms App
 
Customizing Xamarin.Forms UI
Customizing Xamarin.Forms UICustomizing Xamarin.Forms UI
Customizing Xamarin.Forms UI
 
Native iOS and Android Development with Xamarin
Native iOS and Android Development with XamarinNative iOS and Android Development with Xamarin
Native iOS and Android Development with Xamarin
 
Highlights from the Xamarin Evolve 2016 conference
Highlights from the Xamarin Evolve 2016 conferenceHighlights from the Xamarin Evolve 2016 conference
Highlights from the Xamarin Evolve 2016 conference
 
Cross Platform Development with Xamarin
Cross Platform Development with XamarinCross Platform Development with Xamarin
Cross Platform Development with Xamarin
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Xamarin Platform
Xamarin PlatformXamarin Platform
Xamarin Platform
 
Building Your First Android App with Xamarin
Building Your First Android App with XamarinBuilding Your First Android App with Xamarin
Building Your First Android App with Xamarin
 
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for XamarinDesktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
 
web apiで遊び倒す
web apiで遊び倒すweb apiで遊び倒す
web apiで遊び倒す
 
Xamarin
XamarinXamarin
Xamarin
 
.NET North UG - What’s new & next for Xamarin developers
.NET North UG - What’s new & next for Xamarin developers.NET North UG - What’s new & next for Xamarin developers
.NET North UG - What’s new & next for Xamarin developers
 

Similaire à XamarinDevDays - Build Cross-Platform Mobile Apps

Connected & Disconnected Apps with Azure Mobile Apps
Connected & Disconnected Apps with Azure Mobile AppsConnected & Disconnected Apps with Azure Mobile Apps
Connected & Disconnected Apps with Azure Mobile AppsMaurizio Moriconi
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikMukteswar Patnaik
 
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...Nick Landry
 
Developing Cross-platform Native Apps with Xamarin
Developing Cross-platform Native Apps with XamarinDeveloping Cross-platform Native Apps with Xamarin
Developing Cross-platform Native Apps with Xamarindanhermes
 
Top 7 mobile app development frameworks in 2021
Top 7 mobile app development frameworks in 2021Top 7 mobile app development frameworks in 2021
Top 7 mobile app development frameworks in 2021Capital Numbers
 
Xamarin Dev Day
Xamarin Dev DayXamarin Dev Day
Xamarin Dev DayIan Chen
 
Powering your Apps with Cloud Services
Powering your Apps with Cloud ServicesPowering your Apps with Cloud Services
Powering your Apps with Cloud ServicesXpand IT
 
Developing a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&CordovaDeveloping a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&CordovaDamir Beylkhanov
 
Cross-Platform Mobile Development using Visual Studio and Xamarin
Cross-Platform Mobile Development using Visual Studio and XamarinCross-Platform Mobile Development using Visual Studio and Xamarin
Cross-Platform Mobile Development using Visual Studio and XamarinShravan Kumar Kasagoni
 
Azure Mobile Apps with Xamarin
Azure Mobile Apps with XamarinAzure Mobile Apps with Xamarin
Azure Mobile Apps with Xamarindanhermes
 
Popular App Development Frameworks used by App Developers.
Popular App Development Frameworks used by App Developers.Popular App Development Frameworks used by App Developers.
Popular App Development Frameworks used by App Developers.Techugo
 
Xamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected appsXamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected appsAlexandre Marreiros
 
12 Frameworks for Mobile Hybrid Apps
12 Frameworks for Mobile Hybrid Apps12 Frameworks for Mobile Hybrid Apps
12 Frameworks for Mobile Hybrid AppsFilipe Lima
 
Different Types of Websites _ XcelTec .pdf
Different Types of Websites _ XcelTec .pdfDifferent Types of Websites _ XcelTec .pdf
Different Types of Websites _ XcelTec .pdfXcelTec
 
Powerful Backends with Microsoft Azure
Powerful Backends with Microsoft AzurePowerful Backends with Microsoft Azure
Powerful Backends with Microsoft AzurePierce Boggan
 

Similaire à XamarinDevDays - Build Cross-Platform Mobile Apps (20)

Connected & Disconnected Apps with Azure Mobile Apps
Connected & Disconnected Apps with Azure Mobile AppsConnected & Disconnected Apps with Azure Mobile Apps
Connected & Disconnected Apps with Azure Mobile Apps
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar Patnaik
 
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
 
Xamarin y MS Azure | Cognitive Services
Xamarin y MS Azure | Cognitive ServicesXamarin y MS Azure | Cognitive Services
Xamarin y MS Azure | Cognitive Services
 
Developing Cross-platform Native Apps with Xamarin
Developing Cross-platform Native Apps with XamarinDeveloping Cross-platform Native Apps with Xamarin
Developing Cross-platform Native Apps with Xamarin
 
Talk (2)
Talk (2)Talk (2)
Talk (2)
 
Top 7 mobile app development frameworks in 2021
Top 7 mobile app development frameworks in 2021Top 7 mobile app development frameworks in 2021
Top 7 mobile app development frameworks in 2021
 
Mobile app development
Mobile app developmentMobile app development
Mobile app development
 
Xamarin Dev Day
Xamarin Dev DayXamarin Dev Day
Xamarin Dev Day
 
Powering your Apps with Cloud Services
Powering your Apps with Cloud ServicesPowering your Apps with Cloud Services
Powering your Apps with Cloud Services
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Developing a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&CordovaDeveloping a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&Cordova
 
Cross-Platform Mobile Development using Visual Studio and Xamarin
Cross-Platform Mobile Development using Visual Studio and XamarinCross-Platform Mobile Development using Visual Studio and Xamarin
Cross-Platform Mobile Development using Visual Studio and Xamarin
 
Azure Mobile Apps with Xamarin
Azure Mobile Apps with XamarinAzure Mobile Apps with Xamarin
Azure Mobile Apps with Xamarin
 
Popular App Development Frameworks used by App Developers.
Popular App Development Frameworks used by App Developers.Popular App Development Frameworks used by App Developers.
Popular App Development Frameworks used by App Developers.
 
Xamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected appsXamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected apps
 
12 Frameworks for Mobile Hybrid Apps
12 Frameworks for Mobile Hybrid Apps12 Frameworks for Mobile Hybrid Apps
12 Frameworks for Mobile Hybrid Apps
 
Cross mobility
Cross mobilityCross mobility
Cross mobility
 
Different Types of Websites _ XcelTec .pdf
Different Types of Websites _ XcelTec .pdfDifferent Types of Websites _ XcelTec .pdf
Different Types of Websites _ XcelTec .pdf
 
Powerful Backends with Microsoft Azure
Powerful Backends with Microsoft AzurePowerful Backends with Microsoft Azure
Powerful Backends with Microsoft Azure
 

Plus de Alejandro Ruiz Varela

Shapes Brief - .NET Conf Latinoamérica 2020
Shapes Brief - .NET Conf Latinoamérica 2020Shapes Brief - .NET Conf Latinoamérica 2020
Shapes Brief - .NET Conf Latinoamérica 2020Alejandro Ruiz Varela
 
Data Binding for Xamarin Forms In-Depth
Data Binding for Xamarin Forms In-DepthData Binding for Xamarin Forms In-Depth
Data Binding for Xamarin Forms In-DepthAlejandro Ruiz Varela
 
.NET Conf 2019 updates for Mobile Developers
.NET Conf 2019 updates for Mobile Developers.NET Conf 2019 updates for Mobile Developers
.NET Conf 2019 updates for Mobile DevelopersAlejandro Ruiz Varela
 
Deep Dive into Xamarin.Forms Shell @ Xamarin Summit Brasil 2019
Deep Dive into Xamarin.Forms Shell @ Xamarin Summit Brasil 2019Deep Dive into Xamarin.Forms Shell @ Xamarin Summit Brasil 2019
Deep Dive into Xamarin.Forms Shell @ Xamarin Summit Brasil 2019Alejandro Ruiz Varela
 
Mobile Machine Learning Made Easy with Azure Custom Vision @ Microsoft Ignite...
Mobile Machine Learning Made Easy with Azure Custom Vision @ Microsoft Ignite...Mobile Machine Learning Made Easy with Azure Custom Vision @ Microsoft Ignite...
Mobile Machine Learning Made Easy with Azure Custom Vision @ Microsoft Ignite...Alejandro Ruiz Varela
 
2019 .NET Mobile Development Hot Topics
2019 .NET Mobile Development Hot Topics2019 .NET Mobile Development Hot Topics
2019 .NET Mobile Development Hot TopicsAlejandro Ruiz Varela
 
Unotalks - The Future of Xamarin.Forms
Unotalks - The Future of Xamarin.FormsUnotalks - The Future of Xamarin.Forms
Unotalks - The Future of Xamarin.FormsAlejandro Ruiz Varela
 
Uso de Librerías Objective-c en Xamarin.iOS
Uso de Librerías Objective-c en Xamarin.iOSUso de Librerías Objective-c en Xamarin.iOS
Uso de Librerías Objective-c en Xamarin.iOSAlejandro Ruiz Varela
 
Uso de librerías Java en Xamarin.Android
Uso de librerías Java en Xamarin.AndroidUso de librerías Java en Xamarin.Android
Uso de librerías Java en Xamarin.AndroidAlejandro Ruiz Varela
 
Effects & Custom Renderers en Xamarin.Forms
Effects & Custom Renderers en Xamarin.FormsEffects & Custom Renderers en Xamarin.Forms
Effects & Custom Renderers en Xamarin.FormsAlejandro Ruiz Varela
 
"Cycle 8, Android Nougat & iOS 10" for Monkeys
"Cycle 8, Android Nougat & iOS 10" for Monkeys"Cycle 8, Android Nougat & iOS 10" for Monkeys
"Cycle 8, Android Nougat & iOS 10" for MonkeysAlejandro Ruiz Varela
 
Xamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking RobotsXamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking RobotsAlejandro Ruiz Varela
 

Plus de Alejandro Ruiz Varela (19)

Shapes Brief - .NET Conf Latinoamérica 2020
Shapes Brief - .NET Conf Latinoamérica 2020Shapes Brief - .NET Conf Latinoamérica 2020
Shapes Brief - .NET Conf Latinoamérica 2020
 
Primer vistazo a .NET MAUI
Primer vistazo a .NET MAUIPrimer vistazo a .NET MAUI
Primer vistazo a .NET MAUI
 
Data Binding for Xamarin Forms In-Depth
Data Binding for Xamarin Forms In-DepthData Binding for Xamarin Forms In-Depth
Data Binding for Xamarin Forms In-Depth
 
Xamarin.Forms Advanced Topics
Xamarin.Forms Advanced TopicsXamarin.Forms Advanced Topics
Xamarin.Forms Advanced Topics
 
.NET Conf 2019 updates for Mobile Developers
.NET Conf 2019 updates for Mobile Developers.NET Conf 2019 updates for Mobile Developers
.NET Conf 2019 updates for Mobile Developers
 
Deep Dive into Xamarin.Forms Shell @ Xamarin Summit Brasil 2019
Deep Dive into Xamarin.Forms Shell @ Xamarin Summit Brasil 2019Deep Dive into Xamarin.Forms Shell @ Xamarin Summit Brasil 2019
Deep Dive into Xamarin.Forms Shell @ Xamarin Summit Brasil 2019
 
Mobile Machine Learning Made Easy with Azure Custom Vision @ Microsoft Ignite...
Mobile Machine Learning Made Easy with Azure Custom Vision @ Microsoft Ignite...Mobile Machine Learning Made Easy with Azure Custom Vision @ Microsoft Ignite...
Mobile Machine Learning Made Easy with Azure Custom Vision @ Microsoft Ignite...
 
2019 .NET Mobile Development Hot Topics
2019 .NET Mobile Development Hot Topics2019 .NET Mobile Development Hot Topics
2019 .NET Mobile Development Hot Topics
 
Unotalks - The Future of Xamarin.Forms
Unotalks - The Future of Xamarin.FormsUnotalks - The Future of Xamarin.Forms
Unotalks - The Future of Xamarin.Forms
 
DevNights Xamarin: Custom Renderers
DevNights Xamarin: Custom RenderersDevNights Xamarin: Custom Renderers
DevNights Xamarin: Custom Renderers
 
Servicios cognitivos
Servicios cognitivosServicios cognitivos
Servicios cognitivos
 
Aplicaciones conectadas con Azure
Aplicaciones conectadas con AzureAplicaciones conectadas con Azure
Aplicaciones conectadas con Azure
 
Uso de Librerías Objective-c en Xamarin.iOS
Uso de Librerías Objective-c en Xamarin.iOSUso de Librerías Objective-c en Xamarin.iOS
Uso de Librerías Objective-c en Xamarin.iOS
 
2017 xamarin
2017 xamarin2017 xamarin
2017 xamarin
 
Uso de librerías Java en Xamarin.Android
Uso de librerías Java en Xamarin.AndroidUso de librerías Java en Xamarin.Android
Uso de librerías Java en Xamarin.Android
 
Effects & Custom Renderers en Xamarin.Forms
Effects & Custom Renderers en Xamarin.FormsEffects & Custom Renderers en Xamarin.Forms
Effects & Custom Renderers en Xamarin.Forms
 
Xamarin forms + Facebook
Xamarin forms + FacebookXamarin forms + Facebook
Xamarin forms + Facebook
 
"Cycle 8, Android Nougat & iOS 10" for Monkeys
"Cycle 8, Android Nougat & iOS 10" for Monkeys"Cycle 8, Android Nougat & iOS 10" for Monkeys
"Cycle 8, Android Nougat & iOS 10" for Monkeys
 
Xamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking RobotsXamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking Robots
 

XamarinDevDays - Build Cross-Platform Mobile Apps

  • 2.
  • 3. We Apps! 189M downloads a day 200mins on phone 127mins in apps
  • 4. The average app user has 36 apps installed on his or her phone.
  • 5. Only 1/4 are used daily:
  • 6. 1/4 of apps are never used!
  • 7.
  • 8.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. Shared C# codebase • 100% native API access • High performance iOS C# UI Windows C# UIAndroid C# UI Shared C# Mobile C# Server Linux/Mono CoreCLRAzure Shared C# Client/Server
  • 16. RESTAPI Offline sync Facebook Twitter Microsoft Google Azure Active Directory Azure Mobile Apps WindowsAndroid Chrome iOS OSX In-AppKindle Backend code SQL MongoTables O365 API Apps Offline Sync
  • 17. Create a Mobile Service MobileService = new MobileServiceClient( "https://myapp.azurewebsites.net");
  • 18. Create Tables IMobileServiceSyncTable<Store> table; public async Task Init() { const string path = "syncstore.db"; var db = new MobileServiceSQLiteStore(path); db.DefineTable<Store>(); } var handler = new MobileServiceSyncHandler(); await MobileService.SyncContext.InitializeAsync(db, h); table = MobileService.GetSyncTable<Store>();
  • 19. Get and Modify Data public async Task<IEnumerable<Store>> GetStoresAsync() { await table.PullAsync("allStores", table.CreateQuery()); return await table.ToEnumerableAsync(); } public async Task<Store> AddStoreAsync (Store store) { await table.InsertAsync (store); await table.PullAsync("allStores", table.CreateQuery()); await MobileService.SyncContext.PushAsync(); return store; }
  • 20. Let’s add a backend
  • 22. Shared C# codebase • 100% native API access • High performance iOS C# UI Windows C# UIAndroid C# UI Shared C# Mobile C# Server Linux/Mono CoreCLRAzure Shared C# Client/Server
  • 23.
  • 24.
  • 25.
  • 26. Lunch! Alejandro Ruiz CTO @ Los Xamarinos alejandro@alejandroruizvarela.co m http://alejandroruizvarela.blogspot.mx @alejandroruizva

Notes de l'éditeur

  1. Extremely powerful You can do almost anything your backend would ever need to do with Azure. Data storage, authentication/authorization, push notifications, custom APIs, blob storage, etc. Flexible Need something lightweight? Azure is there. Need something robust and powerful? Azure is there. C# clients I’m a frontend developer, I care a lot about how easy this makes MY job (selfish) Many C# clients are written by Java developers, etc. Easy to use C# client Abstracts away much of pain of using a RESTful API C# Features Async / Await / TPL Uses C# idioms Properties, Fluent API Seems obvious, but not always true (first class citizen)
  2. With Xamarin it just isn’t your front end in C# it is your full backend server as well. With Azure or even on Linux running Mono or the CoreCLR your app is fully C# end to end!
  3. With Xamarin it just isn’t your front end in C# it is your full backend server as well. With Azure or even on Linux running Mono or the CoreCLR your app is fully C# end to end!
  4. What if a GetAll should only return favorites for that user.
  5. SO Hard! Azure makes it easy Huge value in having this integrated with data... you can just say fire a push IF