SlideShare una empresa de Scribd logo
1 de 30
Azure Mobile Services
-abackend foryourmobile appinminutes
About Me
Kunal Chowdhury
www.kunal-chowdhury.com
Microsoft MVP (Windows Platform Development)
Telerik Developer Expert
twitter.com/kunal2383
facebook.com/blog.kunal
Getting Started
-quickintroduction totheplatform
Enterprises want to manage internal mobile apps
and consumer facing event or product-specific
mobile apps from the same portal as core LOB
apps.
Small Businesses require solutions that accelerate
development time and decrease development
costs.
Developers shouldn’t have to constantly reinvent
the wheel and reproduce common backend
functionality.
Consumers expect a continuous experience across
all devices.
App Development
Challenges
Windows Azure Mobile Services addresses
each of those challenges.
What is Windows Azure Mobile Services?
Key Scenarios
3
Windows Store
iOS
Android
Windows Phone 8
iOS
Android
HTML 5/JS
SDKs
Server-Side
Scripts
&
Scheduler
Basic Features
Supported Platforms
SQL Database & Tables
Windows Azure Mobile Services Architecture
Node.js
Windows Azure
Mobile Service
Azure
SQL Database
Client
SDK & API
Client
App
Data Services (CRUD) Authentication Services
Push
Notifications
Windows 8 Windows Phone Apple iOS Android HTML5/JS
Windows 8 Windows Phone Apple iOS Android HTML5/JS REST/HTTP
REST API
Monitoring and
Logging 3rd Party Services
Server Side
Scripts
Node.js
SQL Database & Tables
DATA STORAGE SERVICES
Windows Azure
Mobile Service
Azure
SQL Database
Client
SDK & API
Client
App
Data Services (CRUD) Authentication Services
Push
Notifications
Windows 8 Windows Phone Apple iOS Android HTML5/JS
Windows 8 Windows Phone Apple iOS Android HTML5/JS REST/HTTP
REST API
Monitoring and
Logging 3rd Party Services
Server Side
Scripts
Client SDK Simplifies This
Mobile Services Data WORKFLOW
Insert script
Update script
Delete script
Read script
Node.JS Scripts
Some JSON Object
{ Timestamp=“…”, Location=“…” }
RESToverHTTP
Dynamic Schema
Design First
Code First (Default)
Push Notifications
Insert, Update, Delete, Read on a Table
Automatic or Manual Server Script
An Event
Script Runs in the Azure Mobile Service
Windows
Phone 8
iOS AndroidWindows 8
Push Notifications
Push Notifications
Authentication
 Everyone
 Anyone with Application Key
 Only Authenticated users
 Only Scripts and Admins
Authentication
• To enable authentication, you must first
register your app with one or more of
these identity providers and then
configure your mobile service.
• You must also add authentication code
to your app.
• When a user login is authenticated by
Mobile Services, the value of the userId
property on the user object passed to
server scripts is set to a value that
uniquely identifies a user. This value can
then be used to authorize access to data.
Azure Management Portal
-quickintroduction totheplatform
Dashboard
• Quick glance
• Displays relevant mobile service
information, including the service URL,
status, location, database and subscription
• Usage Timeline:
• Displays a scalable chart of CPU time, API
calls and data reads over a specific period
of time.
• Usage Overview:
• Displays an overview of the total compute
time and storage used by this mobile
service
• Manage Keys
• Manage Keys
• Delete
• Delete the Mobile Service
Data
• In Windows Azure Mobile Services, data is
stored in tables, which are maintained in the
Windows Azure SQL Database that is
associated with your mobile service.
• Click the Create button to add a new table to
your mobile service.
• By default, you don’t need to predefine the
schema of tables in your database.
• Mobile Services automatically add columns
to a table based on the data you insert. To
change this dynamic schema behavior, use
the Dynamic Schema setting on the
Configure tab.
• To browse data, manage permissions and
indexes on tables, or add server scripts, click
on a table in the list.
• To delete a table, click to select a table row,
and then click Delete.
Browse
• The Browse tab lets you browse data rows
in a selected table.
• Click the forward and back arrows to
navigate through multiple pages of data.
• Click on table names in the left navigation
bar to switch between tables.
• Click on the large left arrow to go back to
the Data tab.
Script
• Mobile Services enables you to register
JavaScript code to be executed by the service
when an insert, update, delete, or read
operation occurs against a specific table.
• For each table there are 4 CRUD operations
(insert, read, update, del)
• These scripts provide the ability to inject
business logic into table operation, stop an
operation from taking place, change or enrich
values supplied to the operation or change
the results.
• For authenticated clients, you can also
perform user-specific authorizations based
on the userId value of the supplied user
object.
Columns
• To delete columns, click the column and then click
Delete.
• To add additional columns to the table, simply send
an insert request including the new properties from
your app with dynamic schema enabled.
• Once a column is created, its data type cannot be
changed by Mobile Services.
• Insert or update operations fail when the type of a
property in the JSON object cannot be converted to
the type of the equivalent column in the table.
• You can improve the performance of queries by
defining an index on the table.
• To add a column to the index, select the column
and click Set as Index.
Permissions
• Mobile Services enables you to set the following permissions
on table operations:
• Everyone: request for the operation against the table
is accepted. This option leaves your data wide-open
for everyone to access.
• Anybody with the Application Key: The application
key is required to perform the operation. The
application key is distributed with the application.
Note: Because this key is not securely distributed, it
cannot be considered a security token. To secure
access to your mobile service data, you must instead
authenticate users before accessing.
• Only Authenticated Users: Only authenticated users
are permitted to perform the operation. Scripts can
be used to further restrict access to tables based on
an authenticated user.
• Only Scripts and Admins: The operation requires the
service master key, which limits the operation only to
registered scripts or to administrator accounts
Push
• Mobile Services can send push notifications to your apps.
• The way that you configure and send push notifications
depends on your app.
• You can send push notifications to the following
applications:
• Windows Store app by using the Windows Push
Notification Service (WNS). To send push
notifications to your app, you must configure your
mobile service to work with WNS.
• iPhone and iPad apps by using the Apple Push
Notification Service (APNS). To send push
notifications to your app, you must configure your
mobile service to work with APNS.
• Android: You can send push notifications to Android
apps by using the Google Cloud Messaging (GCM)
service. To send push notifications to your app, you
must configure your mobile service to work with
GCM.
• Windows Phone 8 app by using the Microsoft Push
Notification Service (MPNS). Mobile Services does
not require you to register your Windows Phone 8
app to send push notifications.
Identity
• Mobile Services integrates with the following
identity providers to make it easy to
authenticate users from your app:
• Microsoft Account
• Facebook login
• Twitter login
• Google login
• To enable authentication, you must first
register your app with one or more of these
identity providers and then configure your
mobile service.
• You must also add authentication code to
your app.
• When a user login is authenticated by Mobile
Services, the value of the userId property on
the user object passed to server scripts is set
to a value that uniquely identifies a user. This
value can then be used to authorize access to
data.
My blog: www.kunal-chowdhury.com

Más contenido relacionado

La actualidad más candente

Microsoft Dynamics CRM 2011 Walkthrough Part 1
Microsoft Dynamics CRM 2011 Walkthrough Part 1Microsoft Dynamics CRM 2011 Walkthrough Part 1
Microsoft Dynamics CRM 2011 Walkthrough Part 1Jukka Niiranen
 
Retail store connect technical reference
Retail store connect technical referenceRetail store connect technical reference
Retail store connect technical referenceAhmed Farag
 
Software Requirement Analysis and Specification (SRS) of Automated Cyber Cafe...
Software Requirement Analysis and Specification (SRS) of Automated Cyber Cafe...Software Requirement Analysis and Specification (SRS) of Automated Cyber Cafe...
Software Requirement Analysis and Specification (SRS) of Automated Cyber Cafe...Misu Md Rakib Hossain
 
91743410 advertisement-management-system-srs
91743410 advertisement-management-system-srs91743410 advertisement-management-system-srs
91743410 advertisement-management-system-srsSumit Badaya
 
Capturing Product Competitors in StoryPulse
Capturing Product Competitors in StoryPulseCapturing Product Competitors in StoryPulse
Capturing Product Competitors in StoryPulseFOCALCXM
 

La actualidad más candente (7)

Microsoft Dynamics CRM 2011 Walkthrough Part 1
Microsoft Dynamics CRM 2011 Walkthrough Part 1Microsoft Dynamics CRM 2011 Walkthrough Part 1
Microsoft Dynamics CRM 2011 Walkthrough Part 1
 
Retail store connect technical reference
Retail store connect technical referenceRetail store connect technical reference
Retail store connect technical reference
 
Software Requirement Analysis and Specification (SRS) of Automated Cyber Cafe...
Software Requirement Analysis and Specification (SRS) of Automated Cyber Cafe...Software Requirement Analysis and Specification (SRS) of Automated Cyber Cafe...
Software Requirement Analysis and Specification (SRS) of Automated Cyber Cafe...
 
91743410 advertisement-management-system-srs
91743410 advertisement-management-system-srs91743410 advertisement-management-system-srs
91743410 advertisement-management-system-srs
 
Support qbr
Support qbrSupport qbr
Support qbr
 
Capturing Product Competitors in StoryPulse
Capturing Product Competitors in StoryPulseCapturing Product Competitors in StoryPulse
Capturing Product Competitors in StoryPulse
 
Salesforce
SalesforceSalesforce
Salesforce
 

Similar a Windows Azure mobile services - Kolkata - 28 June 2015

Lecture 11. Microsoft mobile services
Lecture 11. Microsoft mobile servicesLecture 11. Microsoft mobile services
Lecture 11. Microsoft mobile servicesMaksym Davydov
 
20140424 Android / iOS 개발자를 위한 Microsoft BaaS 세미나
20140424 Android / iOS 개발자를 위한 Microsoft BaaS 세미나20140424 Android / iOS 개발자를 위한 Microsoft BaaS 세미나
20140424 Android / iOS 개발자를 위한 Microsoft BaaS 세미나영욱 김
 
ServiceNow Tokyo Release- Aelumconsulting.pdf
ServiceNow Tokyo Release- Aelumconsulting.pdfServiceNow Tokyo Release- Aelumconsulting.pdf
ServiceNow Tokyo Release- Aelumconsulting.pdfAelum Consulting
 
Get started azure- Azure Mobile Services
Get started azure- Azure Mobile ServicesGet started azure- Azure Mobile Services
Get started azure- Azure Mobile ServicesSenthamil Selvan
 
2015.04.23 Azure Mobile Services
2015.04.23 Azure Mobile Services2015.04.23 Azure Mobile Services
2015.04.23 Azure Mobile ServicesMarco Parenzan
 
Pascua Yaqui Tribe App in a day and dashboard in day
Pascua Yaqui Tribe App in a day and dashboard in dayPascua Yaqui Tribe App in a day and dashboard in day
Pascua Yaqui Tribe App in a day and dashboard in dayVishal Pawar
 
Loyalty & Rewards Points Application on your mobile, iPhone, Android
Loyalty & Rewards Points Application on your mobile, iPhone, AndroidLoyalty & Rewards Points Application on your mobile, iPhone, Android
Loyalty & Rewards Points Application on your mobile, iPhone, AndroidMike Taylor
 
J2ee project lists:-Mumbai Academics
J2ee project lists:-Mumbai AcademicsJ2ee project lists:-Mumbai Academics
J2ee project lists:-Mumbai AcademicsMumbai Academisc
 
Cloud Powered Mobile Apps with Azure
Cloud Powered Mobile Apps with AzureCloud Powered Mobile Apps with Azure
Cloud Powered Mobile Apps with AzureKen Cenerelli
 
Cnam cours azure zecloud mobile services
Cnam cours azure zecloud mobile servicesCnam cours azure zecloud mobile services
Cnam cours azure zecloud mobile servicesAymeric Weinbach
 
Enter the World of PowerApps - Canvas vs. Model-Driven Apps
Enter the World of PowerApps - Canvas vs. Model-Driven AppsEnter the World of PowerApps - Canvas vs. Model-Driven Apps
Enter the World of PowerApps - Canvas vs. Model-Driven AppsDaniel Laskewitz
 
An introduction to microsoft power apps
An introduction to microsoft power appsAn introduction to microsoft power apps
An introduction to microsoft power appsMitul Rana
 
ServiceNow Table Management.pptx
ServiceNow Table Management.pptxServiceNow Table Management.pptx
ServiceNow Table Management.pptxshahebazshaikh19
 
Azure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile AppsAzure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile AppsWinWire Technologies Inc
 
Architecture of Dynamics CRM with Office 365 and Azure
Architecture of Dynamics CRM with Office 365 and AzureArchitecture of Dynamics CRM with Office 365 and Azure
Architecture of Dynamics CRM with Office 365 and AzurePedro Azevedo
 
CV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7YrsCV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7YrsPurnima Balla
 

Similar a Windows Azure mobile services - Kolkata - 28 June 2015 (20)

Lecture 11. Microsoft mobile services
Lecture 11. Microsoft mobile servicesLecture 11. Microsoft mobile services
Lecture 11. Microsoft mobile services
 
20140424 Android / iOS 개발자를 위한 Microsoft BaaS 세미나
20140424 Android / iOS 개발자를 위한 Microsoft BaaS 세미나20140424 Android / iOS 개발자를 위한 Microsoft BaaS 세미나
20140424 Android / iOS 개발자를 위한 Microsoft BaaS 세미나
 
ServiceNow Tokyo Release- Aelumconsulting.pdf
ServiceNow Tokyo Release- Aelumconsulting.pdfServiceNow Tokyo Release- Aelumconsulting.pdf
ServiceNow Tokyo Release- Aelumconsulting.pdf
 
Analytics and etl based bi solutions
Analytics and etl based bi solutionsAnalytics and etl based bi solutions
Analytics and etl based bi solutions
 
Get started azure- Azure Mobile Services
Get started azure- Azure Mobile ServicesGet started azure- Azure Mobile Services
Get started azure- Azure Mobile Services
 
2015.04.23 Azure Mobile Services
2015.04.23 Azure Mobile Services2015.04.23 Azure Mobile Services
2015.04.23 Azure Mobile Services
 
Pascua Yaqui Tribe App in a day and dashboard in day
Pascua Yaqui Tribe App in a day and dashboard in dayPascua Yaqui Tribe App in a day and dashboard in day
Pascua Yaqui Tribe App in a day and dashboard in day
 
Loyalty & Rewards Points Application on your mobile, iPhone, Android
Loyalty & Rewards Points Application on your mobile, iPhone, AndroidLoyalty & Rewards Points Application on your mobile, iPhone, Android
Loyalty & Rewards Points Application on your mobile, iPhone, Android
 
What is sup
What is supWhat is sup
What is sup
 
J2ee project lists:-Mumbai Academics
J2ee project lists:-Mumbai AcademicsJ2ee project lists:-Mumbai Academics
J2ee project lists:-Mumbai Academics
 
Cloud Powered Mobile Apps with Azure
Cloud Powered Mobile Apps with AzureCloud Powered Mobile Apps with Azure
Cloud Powered Mobile Apps with Azure
 
Cnam cours azure zecloud mobile services
Cnam cours azure zecloud mobile servicesCnam cours azure zecloud mobile services
Cnam cours azure zecloud mobile services
 
Enter the World of PowerApps - Canvas vs. Model-Driven Apps
Enter the World of PowerApps - Canvas vs. Model-Driven AppsEnter the World of PowerApps - Canvas vs. Model-Driven Apps
Enter the World of PowerApps - Canvas vs. Model-Driven Apps
 
Cloud Analytics and VDI
Cloud Analytics and VDICloud Analytics and VDI
Cloud Analytics and VDI
 
An introduction to microsoft power apps
An introduction to microsoft power appsAn introduction to microsoft power apps
An introduction to microsoft power apps
 
ServiceNow Table Management.pptx
ServiceNow Table Management.pptxServiceNow Table Management.pptx
ServiceNow Table Management.pptx
 
Sathya-Resume
Sathya-ResumeSathya-Resume
Sathya-Resume
 
Azure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile AppsAzure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile Apps
 
Architecture of Dynamics CRM with Office 365 and Azure
Architecture of Dynamics CRM with Office 365 and AzureArchitecture of Dynamics CRM with Office 365 and Azure
Architecture of Dynamics CRM with Office 365 and Azure
 
CV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7YrsCV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7Yrs
 

Último

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Último (20)

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

Windows Azure mobile services - Kolkata - 28 June 2015

  • 1. Azure Mobile Services -abackend foryourmobile appinminutes
  • 2. About Me Kunal Chowdhury www.kunal-chowdhury.com Microsoft MVP (Windows Platform Development) Telerik Developer Expert twitter.com/kunal2383 facebook.com/blog.kunal
  • 4.
  • 5. Enterprises want to manage internal mobile apps and consumer facing event or product-specific mobile apps from the same portal as core LOB apps. Small Businesses require solutions that accelerate development time and decrease development costs. Developers shouldn’t have to constantly reinvent the wheel and reproduce common backend functionality. Consumers expect a continuous experience across all devices. App Development Challenges
  • 6. Windows Azure Mobile Services addresses each of those challenges.
  • 7.
  • 8. What is Windows Azure Mobile Services?
  • 10. 3 Windows Store iOS Android Windows Phone 8 iOS Android HTML 5/JS SDKs Server-Side Scripts & Scheduler Basic Features
  • 12. SQL Database & Tables Windows Azure Mobile Services Architecture Node.js Windows Azure Mobile Service Azure SQL Database Client SDK & API Client App Data Services (CRUD) Authentication Services Push Notifications Windows 8 Windows Phone Apple iOS Android HTML5/JS Windows 8 Windows Phone Apple iOS Android HTML5/JS REST/HTTP REST API Monitoring and Logging 3rd Party Services Server Side Scripts
  • 13. Node.js SQL Database & Tables DATA STORAGE SERVICES Windows Azure Mobile Service Azure SQL Database Client SDK & API Client App Data Services (CRUD) Authentication Services Push Notifications Windows 8 Windows Phone Apple iOS Android HTML5/JS Windows 8 Windows Phone Apple iOS Android HTML5/JS REST/HTTP REST API Monitoring and Logging 3rd Party Services Server Side Scripts
  • 14. Client SDK Simplifies This Mobile Services Data WORKFLOW Insert script Update script Delete script Read script Node.JS Scripts Some JSON Object { Timestamp=“…”, Location=“…” } RESToverHTTP
  • 16. Push Notifications Insert, Update, Delete, Read on a Table Automatic or Manual Server Script An Event Script Runs in the Azure Mobile Service Windows Phone 8 iOS AndroidWindows 8
  • 19. Authentication  Everyone  Anyone with Application Key  Only Authenticated users  Only Scripts and Admins
  • 20. Authentication • To enable authentication, you must first register your app with one or more of these identity providers and then configure your mobile service. • You must also add authentication code to your app. • When a user login is authenticated by Mobile Services, the value of the userId property on the user object passed to server scripts is set to a value that uniquely identifies a user. This value can then be used to authorize access to data.
  • 22. Dashboard • Quick glance • Displays relevant mobile service information, including the service URL, status, location, database and subscription • Usage Timeline: • Displays a scalable chart of CPU time, API calls and data reads over a specific period of time. • Usage Overview: • Displays an overview of the total compute time and storage used by this mobile service • Manage Keys • Manage Keys • Delete • Delete the Mobile Service
  • 23. Data • In Windows Azure Mobile Services, data is stored in tables, which are maintained in the Windows Azure SQL Database that is associated with your mobile service. • Click the Create button to add a new table to your mobile service. • By default, you don’t need to predefine the schema of tables in your database. • Mobile Services automatically add columns to a table based on the data you insert. To change this dynamic schema behavior, use the Dynamic Schema setting on the Configure tab. • To browse data, manage permissions and indexes on tables, or add server scripts, click on a table in the list. • To delete a table, click to select a table row, and then click Delete.
  • 24. Browse • The Browse tab lets you browse data rows in a selected table. • Click the forward and back arrows to navigate through multiple pages of data. • Click on table names in the left navigation bar to switch between tables. • Click on the large left arrow to go back to the Data tab.
  • 25. Script • Mobile Services enables you to register JavaScript code to be executed by the service when an insert, update, delete, or read operation occurs against a specific table. • For each table there are 4 CRUD operations (insert, read, update, del) • These scripts provide the ability to inject business logic into table operation, stop an operation from taking place, change or enrich values supplied to the operation or change the results. • For authenticated clients, you can also perform user-specific authorizations based on the userId value of the supplied user object.
  • 26. Columns • To delete columns, click the column and then click Delete. • To add additional columns to the table, simply send an insert request including the new properties from your app with dynamic schema enabled. • Once a column is created, its data type cannot be changed by Mobile Services. • Insert or update operations fail when the type of a property in the JSON object cannot be converted to the type of the equivalent column in the table. • You can improve the performance of queries by defining an index on the table. • To add a column to the index, select the column and click Set as Index.
  • 27. Permissions • Mobile Services enables you to set the following permissions on table operations: • Everyone: request for the operation against the table is accepted. This option leaves your data wide-open for everyone to access. • Anybody with the Application Key: The application key is required to perform the operation. The application key is distributed with the application. Note: Because this key is not securely distributed, it cannot be considered a security token. To secure access to your mobile service data, you must instead authenticate users before accessing. • Only Authenticated Users: Only authenticated users are permitted to perform the operation. Scripts can be used to further restrict access to tables based on an authenticated user. • Only Scripts and Admins: The operation requires the service master key, which limits the operation only to registered scripts or to administrator accounts
  • 28. Push • Mobile Services can send push notifications to your apps. • The way that you configure and send push notifications depends on your app. • You can send push notifications to the following applications: • Windows Store app by using the Windows Push Notification Service (WNS). To send push notifications to your app, you must configure your mobile service to work with WNS. • iPhone and iPad apps by using the Apple Push Notification Service (APNS). To send push notifications to your app, you must configure your mobile service to work with APNS. • Android: You can send push notifications to Android apps by using the Google Cloud Messaging (GCM) service. To send push notifications to your app, you must configure your mobile service to work with GCM. • Windows Phone 8 app by using the Microsoft Push Notification Service (MPNS). Mobile Services does not require you to register your Windows Phone 8 app to send push notifications.
  • 29. Identity • Mobile Services integrates with the following identity providers to make it easy to authenticate users from your app: • Microsoft Account • Facebook login • Twitter login • Google login • To enable authentication, you must first register your app with one or more of these identity providers and then configure your mobile service. • You must also add authentication code to your app. • When a user login is authenticated by Mobile Services, the value of the userId property on the user object passed to server scripts is set to a value that uniquely identifies a user. This value can then be used to authorize access to data.

Notas del editor

  1. <Move into the specifically Azure story here.> So let’s talk about those last three needs our developers have.  If you are in the cloud, firewalls are less cumbersome. Application developers can put data in code in geographical locations that make it very fast.  <Latency Example:> Let’s say your business sells Italian pasta, and your sales are growing, your users in Italy have great service because your servers are really close. So you can preload your data on servers in other geographical locations to improve speed and access. Otherwise the transaction needs to hop across the fiber optic, adding a little more latency.  Also – You can have the cloud doing the heavy lifting so your phone/device/pc equivalent doesn’t.