Work with Windows Azure from Mobile Apps

  • Published on
    12-Jan-2015

  • View
    1.237

  • Download
    5

DESCRIPTION

Talks about Windows Azure Toolkit for WP7, iOS, and Android. Presented on Microsoft TechDays event, Sept 29 2011, Jakarta.

Transcript

  • 1. jakarta, sep 29, 2011work with Windows Azure from mobile platformsAndri Yadiandri (at) dycode (dot) com@andri_yadi

2. about me 3. 4 years in a row 4. start my own company & code for food 5. 8 years in mobile development 6. a movie freak 7. the ceo of 8. i wont talk much about Azure, but mostly on client side 9. azure? 10. use cloud as storage(blob + structured data)access web applicationshosted in azurereceive notifications 11. work with azure from mobile client apps can be complex 12. scenario 1 table storagehttp blob storage 13. you need to create storage, thenremember the account name & key 14. REST Endpoint:http://[account].blob.core.windows.netList, Create, and Delete ContainersList, Put, Get, Delete Blobsblob storage 15. list all blob containersGET http://watiosdemo.blob.core.windows.net/?comp=list&include=metadatax-ms-date: Thu, 14 Apr 2011 20:30:00 GMTx-ms-version: 2009-09-19x-ms-blob-type: BlockBlobAuthorization: SharedKey watiosdemo:[ComputedHash] blob storage 16. compute hashAccountKey: /9seXadQ9HwOpXUO1jKxFN8qRequest: GETnnnnnnnnnnnnx-ms-blob-type:BlockBlobnx-ms-date:Thu, 14 Apr 2011 20:30:00 GMTnx-ms-version:2009-09-19n/watiosdemo/ncomp:listninclude:metadataHash = HMACSHA256(UTF8Encode(Request), Base64Decode(AccountKey)) 17. list all blob containersGET http://watiosdemo.blob.core.windows.net/?comp=list&include=metadatax-ms-date: Thu, 14 Apr 2011 20:30:00 GMTx-ms-version: 2009-09-19x-ms-blob-type: BlockBlobAuthorization: SharedKey watiosdemo:[ComputedHash] blob storage c 3 movieposter http://watiosdemo.blob.core.windows.net/movieposter Sun, 14 Apr 2011 20:09:03 GMTModified> .... 18. add new imagePUT http://watiosdemo.blob.core.windows.net/movieposter/poster.jpg x-ms-date: Thu, 14 Apr 2011 20:30:00 GMTx-ms-version: 2009-09-19x-ms-blob-type: BlockBlobAuthorization: SharedKey watiosdemo:[ComputedHash]{...binary representation of image...}blob storage 19. REST Endpoint:http://[account].table.core.windows.netList, Create, and Delete TablesList, Put, Get, Delete Table Entitiestable storage 20. list all tablesGET http://watiosdemo.table.core.windows.net/Tablesx-ms-date: Thu, 14 Apr 2011 20:30:00 GMTx-ms-version: 2009-09-19DataServiceVersion: 1.0;NetFxMaxDataServiceVersion: 2.0;NetFxAuthorization: SharedKey watiosdemo:[ComputedHash] Tables blob storage http://watiosdemo.tables.core.windows.net/Tables 2011-04-04T17:18:54.7062347Z http://watiosdemo.tables.core.windows.net/Tables(movie) 2009-01-04T17:18:54.7062347Z .... 21. its hard, right? luckily... 22. therere toolkits for popular mobile platforms iOS toolkitandroid toolkit wp7 toolkit 23. windows azure toolkit for windows phone 7encapsulates authentication(directly or through proxy)requests & responses abstractionfor cloud storage & SQL Azuresupports both Apple pushnotification & MS push notificationsource code is available at:https://watwp.codeplex.comlatest version 1.3.0, sep 30, 2011 24. windows azure toolkit for iOSencapsulates authentication(directly or through proxy)requests & responses abstractionfor cloud storagesupports Apple push notificationsource code is available at:https://github.com/microsoft-dpe/wa-toolkit-ioslatest version 1.2.1, aug 31, 2011 25. windows azure toolkit for androidencapsulates authentication(directly or through proxy)requests & responses abstractionfor cloud storagesource code is available at:https://github.com/microsoft-dpe/wa-toolkit-androidlatest version 0.8, aug 31, 2011 26. demo 27. we do apps for all mobile platforms 28. our mobile apps portfolios 29. our mobile apps portfolios

Recommended

View more >