Windows Azure Mobile Services

                        ZeCloud – Azure Camp – 26 septembre 2012
                               Windows Azure : The Origins




http://blog.woivre.fr    Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Halte aux idées préconçues

             Disponible UNIQUEMENT pour Windows 8 !

             Requêtable dans une certaines mesure via un service REST

             Version pour iOS et Android en cours de développement
                 http://blog.xamarin.com/2012/09/20/xamarin-partners-with-
                  microsoft-to-support-azure-mobile-services-on-android-and-ios/
                 Déjà en preview !!


             Disponible sur GitHub




http://blog.woivre.fr       Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Windows Azure Mobile Services

             Service de CRUD
                   Create
                   Read
                   Update
                   Delete


             Push notification sur Windows 8

             Service d’identification




http://blog.woivre.fr        Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Les principes du CRUD

             Application dans les nuages

             Stockage dans une base de données SQL Azure




http://blog.woivre.fr    Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Sur Windows Azure

             Monitoring

             Schéma de table dynamique

             Application scalable

             Consultation de logs

             Application Node.js




http://blog.woivre.fr     Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Les entités

             Une entité = une table
             Un identifiant unique
             Colonnes indexables
             Permissions par méthode du CRUD
             Méthode du CRUD modifiable




http://blog.woivre.fr    Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Vue d’ensemble du portail




http://blog.woivre.fr   Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Création d’une table

             Décorer avec DataContract
                 Nom obligatoire
                 Tout en minuscule




http://blog.woivre.fr       Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Utilisation du CRUD

             Service asynchrone

             Sécurité avec une Secret Key




http://blog.woivre.fr    Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Validation des données côté serveur

             Serveur Node.js
                 Validation des saisies via du code JavaScript
                 Ajout de propriétés à la volée




http://blog.woivre.fr        Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Et en vrai ça donne quoi ?




http://blog.woivre.fr   Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Push & Authentification

             Un site pour les activer tous !
                 https://manage.dev.live.com/build?wa=wsignin1.0




http://blog.woivre.fr       Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Et au niveau du code ?

             Push




             Authentification




http://blog.woivre.fr     Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Et en vrai ?




http://blog.woivre.fr   Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr
Questions ?




http://blog.woivre.fr   Wilfried Woivré – MVP Windows Azure – So@t Expert Azure   http://zecloud.fr

Wilfried woivré windows azure mobile services

  • 1.
    Windows Azure MobileServices ZeCloud – Azure Camp – 26 septembre 2012 Windows Azure : The Origins http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 2.
    Halte aux idéespréconçues Disponible UNIQUEMENT pour Windows 8 ! Requêtable dans une certaines mesure via un service REST Version pour iOS et Android en cours de développement  http://blog.xamarin.com/2012/09/20/xamarin-partners-with- microsoft-to-support-azure-mobile-services-on-android-and-ios/  Déjà en preview !! Disponible sur GitHub http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 3.
    Windows Azure MobileServices Service de CRUD  Create  Read  Update  Delete Push notification sur Windows 8 Service d’identification http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 4.
    Les principes duCRUD Application dans les nuages Stockage dans une base de données SQL Azure http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 5.
    Sur Windows Azure Monitoring Schéma de table dynamique Application scalable Consultation de logs Application Node.js http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 6.
    Les entités Une entité = une table Un identifiant unique Colonnes indexables Permissions par méthode du CRUD Méthode du CRUD modifiable http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 7.
    Vue d’ensemble duportail http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 8.
    Création d’une table Décorer avec DataContract  Nom obligatoire  Tout en minuscule http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 9.
    Utilisation du CRUD Service asynchrone Sécurité avec une Secret Key http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 10.
    Validation des donnéescôté serveur Serveur Node.js  Validation des saisies via du code JavaScript  Ajout de propriétés à la volée http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 11.
    Et en vraiça donne quoi ? http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 12.
    Push & Authentification Un site pour les activer tous !  https://manage.dev.live.com/build?wa=wsignin1.0 http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 13.
    Et au niveaudu code ? Push Authentification http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 14.
    Et en vrai? http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr
  • 15.
    Questions ? http://blog.woivre.fr Wilfried Woivré – MVP Windows Azure – So@t Expert Azure http://zecloud.fr