1 / 20

Sofia Event Center 14-15 May 2014

Sofia Event Center 14-15 May 2014. Build Connected Services. Dejan Dimitrovski, @ ddejan Technology Development Manager, Nextsense. About me. Dejan Dimitrovski New Technology addict Passionate hiker and runner email: dejan@nextsense.com twitter: @ ddejan. The best apps are….

dawn
Télécharger la présentation

Sofia Event Center 14-15 May 2014

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sofia Event Center 14-15 May 2014 Build Connected Services Dejan Dimitrovski, @ddejan Technology Development Manager, Nextsense

  2. About me Dejan Dimitrovski New Technology addict Passionate hiker and runner email: dejan@nextsense.com twitter: @ddejan

  3. The best apps are… Connected.

  4. Connected apps challenges • Directory services? • Develop their own user database? • ODBC/JDBC? • Spring/ADO.NET? • REST/JSON? • SOAP/Webservice? • Custom serialization? 2. authentication and authorization User Interface(HTML5/Native) Data storage Business logic 1. query, update 3. data access 5. async notification 4. processing logic • .NET/J2EE? • PHP/Python? • iOS • Android • Windows phone

  5. Azure Mobile Service Store data in the cloud Windows Store iOS Android Windows Phone 8 iOS Android HTML 5/JS SQL Table Storage Blob Storage Mongo DB Scripts: Table Scheduled Custom API User authentication Active Directory Facebook Microsoft SDKs Twitter Google Push notifications REST API Source control Notification Hubs WNS and MPNS APNS GCM

  6. Getting Started Building a backend in a minute

  7. Data storage Data Node.JS Scripts • Powered by SQL Database • Same DB – Multiple Mobile Services • Data management in • Windows Azure Portal • SQL Portal • SQL Management Studio • REST API Read script Delete script Insert script Update script REST over HTTP Client JSON Object{ firstName=“…”, lastName=“…” }

  8. Server Logic • Automatic service REST API generated for storage • Dynamic Schema on/off • Ability to author server logic that intercepts CRUD operation pipeline • Rich querying capability • Node.js scripts • Intercept CRUD requests to tables • Fully customizable logic flow

  9. Node modules request push.* sendgrid console mssql pusher statusCodes azure twilio

  10. Authentication & authorization Authentication • Table level permissions for each CRUD operation • Everyone • Anyone with the Application Key • Only Authenticated Users • Only Scripts and Admins • 400 / Unauthorized response if a call doesn’t pass • More granular control with server side scripts • user.level: {admin, authenticated, anonymous} • user.userId: id or undefined if not authenticated

  11. Authentication and server logic Define who and how is using our app

  12. Push notification Notifications WNS MPNS APNS GCM iOS Windows 8 WindowsPhone 8 Android

  13. Custom API, Schedules Scripts & Svcs Custom API Scripts Get script Post script Put script Patch script Delete script

  14. Push notification and Custom API Add some logic behind the tables

  15. Monitoring Monitoring

  16. Logging Monitoring

  17. .NET Support • Currently in preview • WebApi based service .NET Support

  18. Wrap up • Easy to setup and use • Backend as a service • Cloud based • Scalable • Manageable • Ready to use on different platforms • Android, iOS, Xamarine, Windows 8, Windows Phone, HTML/JavaScript, PhoneGap • More @ http://azure.microsoft.com/en-us/develop/mobile/

  19. Time for Q&A and discussion …if there is enough time

  20. Questions??? Share your feedback for this particular session and for the overall conference experience at http://aka.ms/intouch for a chance to win our prizes!

More Related