This document provides an overview of Microsoft Azure's Mobile Services platform for building cloud-powered mobile apps. It discusses key Mobile Services components like structured storage, authentication, push notifications, and offline sync capabilities. It also covers the .NET and Node.js backend options, REST APIs, file storage integration, and tools for scaling, logging, and scheduling jobs. The document concludes with a reminder to get a free Azure trial account and links to additional learning resources.
Антон Бойко (Microsoft Azure MVP, Ukrainian Azure Community Founder) «Azure M...DataArt
Антон Бойко (Microsoft Azure MVP, Ukrainian Azure Community Founder) «Azure Mobile Services — создаем backend для мобильного приложения со скоростью света»
Building a document e-signing workflow with Azure Durable FunctionsJoonas Westlin
Durable functions offer an interesting programming model for building workflows. Whether you need to sometimes split and do multiple things or wait for user input, a lot of things are possible. They do present some challenges as well, and the limitations of orchestrator functions can make working with Durable seem very complicated.
In this talk we will go through the basics of Durable Functions along with strategies for deploying and monitoring them. A sample application will be presented where users can send documents for electronic signature. A Durable Functions workflow will power the signing process.
This is a talk on how to create tooling and other management tips for your Microsoft Azure Subscriptions. It starts off with the Azure Service Management API, going over to the Microsoft Azure Maanagement Libraries aka MAML and then passing over to stuff that's build on MAML, things like the POwerShell cmdlets. Finally i talk about Azure Automation to create some automated tooling.
Zero credential development with managed identitiesJoonas Westlin
Introduction to Managed Identities in Azure, what they are and how they work. Also goes through what services they can be used with in Azure, how you can use services without any keys or secrets.
In this presentation you will see how to use Microsoft Azure Mobile Services to add structured storage, integrated authentication and scaling to your Windows apps. Presented November 15, 2014 at the London Azure Camp hosted by the London .NET Developers group in London, Ontario, Canada.
Антон Бойко (Microsoft Azure MVP, Ukrainian Azure Community Founder) «Azure M...DataArt
Антон Бойко (Microsoft Azure MVP, Ukrainian Azure Community Founder) «Azure Mobile Services — создаем backend для мобильного приложения со скоростью света»
Building a document e-signing workflow with Azure Durable FunctionsJoonas Westlin
Durable functions offer an interesting programming model for building workflows. Whether you need to sometimes split and do multiple things or wait for user input, a lot of things are possible. They do present some challenges as well, and the limitations of orchestrator functions can make working with Durable seem very complicated.
In this talk we will go through the basics of Durable Functions along with strategies for deploying and monitoring them. A sample application will be presented where users can send documents for electronic signature. A Durable Functions workflow will power the signing process.
This is a talk on how to create tooling and other management tips for your Microsoft Azure Subscriptions. It starts off with the Azure Service Management API, going over to the Microsoft Azure Maanagement Libraries aka MAML and then passing over to stuff that's build on MAML, things like the POwerShell cmdlets. Finally i talk about Azure Automation to create some automated tooling.
Zero credential development with managed identitiesJoonas Westlin
Introduction to Managed Identities in Azure, what they are and how they work. Also goes through what services they can be used with in Azure, how you can use services without any keys or secrets.
In this presentation you will see how to use Microsoft Azure Mobile Services to add structured storage, integrated authentication and scaling to your Windows apps. Presented November 15, 2014 at the London Azure Camp hosted by the London .NET Developers group in London, Ontario, Canada.
Windows Azure Active Directory presentation will show you how to set up your Azure AD account and how to connect existing ASP.NET MVC Web Application with Azure Active Directory to provide Single-Sign-On
My presentation from the 8th meeting of Finland Azure User Group where I went through basic and intermediate concepts of Azure Active Directory for software developers.
Azure Active Directory (AD) is a directory as a service on Microsoft Azure. More than the cloud identity Azure AD provides a platform to build cloud applications with multi tenancy support. A flexible authentication systems which enables developers to leverage the cloud identity model and develop applications at ease. The session will walk you through on the basics of Azure AD and how to develop .NET applications using Azure AD.
Zero Credential Development with Managed IdentitiesJoonas Westlin
Keys are always needed to access services in Azure and beyond. Storing and managing keys presents many problems, for example rotating and disabling them. Keys often also allow blanket access to the service with no way to limit it. Sometimes there is only one key that needs to be shared by services, so you won't have any way to disable access from one individually. In this talk we will go through Managed Identities for Azure Resources, how they work, and how you can use them to use Azure services in a secure way without having to manage any keys yourself. We will go through a demo application which uses various Azure services through a managed identity, removing the need to use keys entirely. The source code will be available to the audience so they have samples that they can use to implement managed identities in their own applications.
Blog post: http://WakeUpAndCode.com/web-app-security
Whether you’re building your own web apps or using a commercial product, you should always be aware of potential security vulnerabilities that can bring down your website or put your users and data at risk. Join Shahed Chowdhuri (Sr. Technical Evangelist @ Microsoft) to learn about vulnerabilities such as SQL Injection and Cross-Site Scripting, and what you can do about them.
Zero Credential Development with Managed Identities for Azure resourcesJoonas Westlin
Introduction to Managed Identities in Azure, what they are and how they work. Also goes through what services they can be used with in Azure, how you can use services without any keys or secrets.
Windows Azure Active Directory step-by-step, How to set-up Azure Active Directory, Identity Management in Azure, Access Management with Azure Active Directory
Authentication and Authorization in Asp.NetShivanand Arur
This presentation gives a little information about Why Security is important, then moving towards understanding about Authentication and Authorization and its various ways
1. Forms Authentication
2. Windows Authentication
3. Passport Authentication
Injecting custom code into authentication and authorization in ASP.NET has always been tedious at best. AspNet.Identity is a new library shipping with MVC 5, built to replace both ASP.NET Membership and Simple Membership. AspNet.Identity makes it much easier to implement custom authentication and authorization without the need to rewrite core components. In this session I will go deep into the abstractions that AspNet.Identity builds atop of, and show how to take advantage of these hook points to implement a custom membership system.
Identity and Access (AD), Azure and Office 365: Building a Single Page Application (SPA) with ASP.NET Web API and Angular.js using Azure Active Directory to Log in Users
What can you do with Azure Mobile Services? In a big solution, made up of several services, you can control your remote infrastructure looking at you events collected in a DB and you can send commands.
Windows Azure Active Directory presentation will show you how to set up your Azure AD account and how to connect existing ASP.NET MVC Web Application with Azure Active Directory to provide Single-Sign-On
My presentation from the 8th meeting of Finland Azure User Group where I went through basic and intermediate concepts of Azure Active Directory for software developers.
Azure Active Directory (AD) is a directory as a service on Microsoft Azure. More than the cloud identity Azure AD provides a platform to build cloud applications with multi tenancy support. A flexible authentication systems which enables developers to leverage the cloud identity model and develop applications at ease. The session will walk you through on the basics of Azure AD and how to develop .NET applications using Azure AD.
Zero Credential Development with Managed IdentitiesJoonas Westlin
Keys are always needed to access services in Azure and beyond. Storing and managing keys presents many problems, for example rotating and disabling them. Keys often also allow blanket access to the service with no way to limit it. Sometimes there is only one key that needs to be shared by services, so you won't have any way to disable access from one individually. In this talk we will go through Managed Identities for Azure Resources, how they work, and how you can use them to use Azure services in a secure way without having to manage any keys yourself. We will go through a demo application which uses various Azure services through a managed identity, removing the need to use keys entirely. The source code will be available to the audience so they have samples that they can use to implement managed identities in their own applications.
Blog post: http://WakeUpAndCode.com/web-app-security
Whether you’re building your own web apps or using a commercial product, you should always be aware of potential security vulnerabilities that can bring down your website or put your users and data at risk. Join Shahed Chowdhuri (Sr. Technical Evangelist @ Microsoft) to learn about vulnerabilities such as SQL Injection and Cross-Site Scripting, and what you can do about them.
Zero Credential Development with Managed Identities for Azure resourcesJoonas Westlin
Introduction to Managed Identities in Azure, what they are and how they work. Also goes through what services they can be used with in Azure, how you can use services without any keys or secrets.
Windows Azure Active Directory step-by-step, How to set-up Azure Active Directory, Identity Management in Azure, Access Management with Azure Active Directory
Authentication and Authorization in Asp.NetShivanand Arur
This presentation gives a little information about Why Security is important, then moving towards understanding about Authentication and Authorization and its various ways
1. Forms Authentication
2. Windows Authentication
3. Passport Authentication
Injecting custom code into authentication and authorization in ASP.NET has always been tedious at best. AspNet.Identity is a new library shipping with MVC 5, built to replace both ASP.NET Membership and Simple Membership. AspNet.Identity makes it much easier to implement custom authentication and authorization without the need to rewrite core components. In this session I will go deep into the abstractions that AspNet.Identity builds atop of, and show how to take advantage of these hook points to implement a custom membership system.
Identity and Access (AD), Azure and Office 365: Building a Single Page Application (SPA) with ASP.NET Web API and Angular.js using Azure Active Directory to Log in Users
What can you do with Azure Mobile Services? In a big solution, made up of several services, you can control your remote infrastructure looking at you events collected in a DB and you can send commands.
Highlights the services in Azure that provide microservices, including App Service, Logic Apps, Functions, Azure SQL Database, Service Bus, containers, Traffic Manager, etc.
.NET Usergroup Oldenburg 26. März 2015 - von Winfried Klinker und Andre Hühn
Microsoft Azure gehört zu den Cloud-Diensten, die Microsoft anbietet. Es umfasst neben dem Hosting von virtuellen Maschinen insbesondere eine große Sammlung an Diensten (wie SQL Azure, Mobile Services, Machine Learning).
Wir geben einen ersten Überblick über die Features von Azure insbesondere für Entwickler. Dabei werden wir sowohl auf die Platform as a Service (PaaS) Angebote wie auch auf die Infrastructe as a Service (IaaS) eingehen. Außerdem geben wir einen Einblick in moderne Cloud Architektur und zeigen Best Practices bei der Cloud Entwicklung auf. Dabei werden Beispiele aus der Praxis zeigen, wie man eine Fehlertolerante und robuste Cloud Lösung erstellen kann.
Über die Sprecher:
Winfried Klinker ist als Software Architekt bei der Firma Sitrion in Oldenburg tätig. Er beschäftigt sich größtenteils mit Cloud Architekturen mit Microsoft Azure vor allem in Bezug auf Backends für mobile Anwendungen.
Andre Hühn ist Team Lead für Entwicklung mobiler Apps bei der Firma Sitrion in Oldenburg und beeinflusst damit die Richtung der Architektur für das Sitrion ONE Produkt.
The Cloud ecosystem has faced a drastic and fast pace of change over the past couple of years. Many of those developers who deal/dealt with Azure may get lost in numerous increments. Those who consider Azure environment may be confused with tons of options brought with Azure getting mature and robust. We suggest joining a quick catch-up session…
This is an edited version of the keynote deck in Azure-Readiness DevCamp
This is the slide deck for the DFW Azure User Group meetup of 18 July 2017, presented by Doug Vanderweide and discussing Azure's services that support a microservices architecture.
Hello All,
Let's meet and discuss what are the new announcements from Build 2016 and how we can best leverage them in our business!
Here are some of the topics we will cover this time:
- Azure Functions
- Service Fabric
- Azure Storage
- Document DB
- Azure Container Services
- Power BI Embedded
- ASP.NET Core
- Virtual Machine Scale Sets
I will be happy to share my experience from the conference, especially the session I visited and also the conversations I had with various Microsoft representatives.
Azure is developing faster than ever and Microsoft is driving the platform in very interesting direction that require us to know and work with more and more new technologies!
Come and join us to learn more about Azure!
I am arranging the venue but my plan for the meetup is to be on April 25-th or April 27-th from 19:30. I will keep you updated on that!
Thank you!
Kanio
IDC Games is a online game publisher specialized in western markets and belongs to the Nvia Group with more than 10 years of experience working in online markets in the Americas and Europe.
4. The REST API
4
Action HTTP Method URL Suffix
Create POST /TodoItem
Read GET /TodoItem?filter=id%3D42
Update PATCH /TodoItem/id
Delete DELETE /TodoItem/id
Microsoft Azure
Base Endpoint: https://MobileService.azure-
mobile.net/tables/*
5. Server Side Table Scripts
5
Node.js scripts
Intercept CRUD
requests to tables
Passes through to SQL
by default
Fully customizable
.NET Web API
backend in
Visual Studio
MongoDB, Table
Storage, SQL out of the
box
6. .NET Backend
• Web API based w/ additional functionality, developed in and deployed
from Visual Studio
• TableController data context can map to SQL, Table Storage, Mongo, etc
• Pull in NuGet modules and other .NET libraries
• Set permissions with attributes on classes
• Local Debug
6Microsoft Azure
7. Custom API
• Non-table based endpoints
• Accessible from
• GET
• POST
• PUT
• PATCH
• DELETE
• For node.js logic in scripts like table endpoints
• For .NET delivered through a WebAPI
• Expose any functionality you want
7Microsoft Azure
8. File Storage
• Don’t store files in Mobile Services DB
• Use Mobile Service to provide a Valet Key Pattern to Blob Storage,
aka BLOB SAS
• Create table / custom API script to talk to Blob Storage
• Script generates Shared Access Signature (SAS) URL
• Script returns SAS URL to client app
• Client app uploads data to blob storage directly
• Store file URL in Mobile Service DB as needed
• Blob storage costs less and is built for redundant file storage
• Resource Broker extension for .NET and Node backends
8Microsoft Azure
9. Notification Hubs
• Separate from Mobile Services
• Can be used regardless of whether you’re storing data in Azure
• Extremely scalable push notifications
• Cross platform support
• Push to iOS, Android, Kindle, Windows Phone, Windows Store
• Tags (i.e. tie my registration to this topic or user ID)
• Templates (i.e. when I get a push, send it in this format)
• Server SDKs for .NET, Java, and Node (also open as REST API)
9Microsoft Azure
10. Data Authorization
Per HTTP method auth options:
• App Key Required
• Not ideal for production use
• Everyone
• Authenticated Users
• Admins and other scripts
• Requires Master Key as header
401 Unauthorized response if security check fails
10Microsoft Azure
12. Offline Sync: Potential Uses
• Improve app responsiveness by caching server data
locally on the device
• Make apps resilient against intermittent network
connectivity
• Allow end-users to create and modify data even when
there is no network access, supporting scenarios with
little or no connectivity
• Sync data across multiple devices and detect conflicts
when the same record is modified by two devices
12
13. Scheduled Jobs
• Executes a script on defined schedule
• Can be run on demand
• Ideal for any backend data processing job
• Length / frequency based of Mobile Service tier
13Microsoft Azure
14. Diagnostics, Logging, Scale
14
API Calls, # of Devices,
Data Out
Console Logging (auto
error logging)
Scale Service Based off API
Calls
Auto-scale to Save Money
Free Tier for Mobile Free Tier for SQL
Speaking Notes
Azure Mobile Services is a Backend-as-a-Service
Instead of you having to design, build, test, deploy, manage, and upgrade your whole backend, we do it for you
Features of Mobile Services
Storage – SQL DB
Authentication – built in support for social providers w/ ability to custom auth
Backend logic – data validation, logical flows, etc
Push Notifications – across all major mobile platforms
Scheduler – backend job processing
Speaking points
Mobile Service easily connects to SQL Database
SQL offers rich querying and indexing capabilities
Dynamic Schematization means you don’t have to be a DBA and manage schema
Data can be managed in:
Azure Portal (read and delete data)
SQL Portal (Silverlight)
SQL Management Studio (windows)
REST API (used by SDKs)
Azure CLI tools
SQL CLI (Node module)
Speaking points
This is the mapping for the REST API exposed by table storage
Standard REST
Anything that can talk REST can connect to your Mobile Service
Speaking points
Node backend generates Node scripts for each table action
Scripts intercept CRUD requests
Pass to SQL by default
Custom logic added here
Edit in portal (NODE)
.NET Backend creates Visual Studio project
Speaking points
.NET backend is currently in preview
Bases off of Web API
Develop and deploy in VS (also create new Mobile Services with VS project template)
Debug locally
Can pull in NuGet and other .NET libs
TableController is base for accessing data, can be overridden to talk to Table Storage, Mongo, etc
Permissions handled as attributes on classes
Speaking points
All scripts so far tied to a table action
Custom APIs are non-table based endpoints
Script functionality for normal HTTP methods
File storage
SQL DB for Mobile Services not ideal for file data storage
Best practice is to use Mobile Service as Proxy
Mobile Service script generates SAS URL
Client uploads file to SAS URL
Valet Key Pattern http://msdn.microsoft.com/en-us/library/dn568102.aspx
Speaking points
Notification Hubs are a separate service from Mobile Services but also used by Mobile Services
Pushes to iOS, Android, Kindle, Windows Phone, Windows Store
Extremely scalable (millions of pushes in minutes)
Tags and templates
Server SDKs: .NET, Java (beta), Node, REST API
Speaking points
Data auth – locking data down
Default is App Key Required, great for pre-release time period
Not production ready due to key’s accessibility in public apps
Authenticated users – requests must contain user ID and matching auth token
Admins and other scripts – only external requests with Master Key make it through
Otherwise 401 is returned
Speaking points
Schedule jobs (scripts) can be run by the scheduler
Ideal for any backend job processing (regular push notification, remove old data, etc)
Length and how often you can run job based off tier of your mobile service
Speaking points
Some default stats like # of api calls, # of devices connecting, amount of data out
Api calls are important because that’s how mobile services’ scale is baed
All console statements and errors go to logging area
Auto-scaling helps save money
Free tier for Mobile Services and SQL while developing
Speaking Notes
Summarize earlier slide
Azure Mobile Services is a Backend-as-a-Service
Instead of you having to design, build, test, deploy, manage, and upgrade your whole backend, we do it for you
Features of Mobile Services
Storage – SQL DB
Authentication – built in support for social providers w/ ability to custom auth
Backend logic – data validation, logical flows, etc
Push Notifications – across all major mobile platforms
Scheduler – backend job processing
Demo: Getting Started
Go to the portal
Create a new mobile service (Node backend works with most of deck)
Walk through Getting started screen
Choose platform
Download quick start
Run quick start
Save and update data
Show data in portal (Node)
Walk through client code that deals with Mobile Service
Speaking points
Sign up for a free Azure trial
Mobile Services are free to develop with (to a point) on non-trial subscription
Additional videos, tutorials, samples available
SDK source code (for Mobile Services and Notification Hubs) available in GitHub