Welcome to Azure App Services! Amie Seisay
Background – Where It All Began… Over 10 Years Experience
@AmieSeisay Background – What I Enjoy Lots of JavaScript and CSS! Training Developer SharePoint Server Farm Architecture Change Management
@AmieSeisay Background - Certifications SharePoint 2010 Administration CIW v5 Associate MCTS : Microsoft SharePoint 2010, Configuration Certified Technical Trainer Macromedia Dreamweaver 8 ITIL Foundation
@AmieSeisay Azure App Service includes… Introduced in March 2015 Logic Apps (New!) and API Apps Web Apps, formerly Azure Websites Mobile Apps, formerly Azure Mobile Services
@AmieSeisay API Apps REST based web service API apps are also referred as “Connectors” Connection end points to external systems Some of the connectors are capable of “Hybrid Connections” Capable of running in customers on-premises environment Exposes the on-premises systems seamlessly as Azure API apps. On Premises Setup Store agent file on your server
@AmieSeisay Swagger 2.0 Contains metadata used for API Apps A framework for describing, consuming, and visualizing RESTful APIs Sample: JSON FormatVisualization
@AmieSeisay What’s Swashbuckle? Not these guys…
@AmieSeisay Swashbuckle “Seamlessly adds a Swagger to WebApi projects!” In Visual Studio, run the below command in Package Manger:
@AmieSeisay Custom API API apps can be built in any technology (Node.js, Java,.NET, etc), Requirement: the metadata is clearly defined according to Swagger 2.0 definitions Authentication is handled through adding keys and Azure takes care of the rest!
@AmieSeisay Logic Apps Used to automate workflows and business processes Can be set to run automatically as your app is called, when a record is saved in a database, or on a time interval Built either by declaratively using a JSON file or using Logic/Workflow designer Performs tasks like: create/retrieve a record in a database send an or SMS message post a message on Facebook or Twitter or Yammer schedule a meeting/reminder in Office 365
@AmieSeisay Triggers Poll trigger – Client (Logic App) polls the API app for notification of an event having been fired HTTP method: GET Push trigger - Client is notified by the API app when an event fires HTTP method: PUT
@AmieSeisay Common REST API Error Codes
@AmieSeisay Gotchas! Logic App When using Poll Triggers in your, don’t hit “Run Now” If you do, you will receive this error message: {"code":"InvalidTemplate","message":"Unable to process template language expressions for action 'office365connector' at line '1' and column '11': 'Template language expression can not be evaluated: the property 'outputs' can not be selected.'."} “Run Now” is for manual execution of logic apps that need to run sporadically.
@AmieSeisay Gotchas! SQL databases in Azure Change firewall settings so that you can work with in Visual Studio
@AmieSeisay Gotchas! SQL Connector Change default table information for Polling View the “Host” > “All Settings” > “Application Settings”
@AmieSeisay Gotchas! SQL Connector Prevent infinite polling in PollingStatement SELECT * FROM [ChangeRequests]; DELETE FROM [ChangeRequests]
@AmieSeisay Resources Introducing the Azure API Apps Tools for Visual Studio 2013: for-visual-studio-2013.aspx for-visual-studio-2013.aspx Use Logic Apps features: logic-use-logic-app-features/ logic-use-logic-app-features/ ASP.NET Web API Documentation using Swagger: documentation-using-swagger/ documentation-using-swagger/ ASP.NET Web API Videos: marriage-between-cloud-and-on-premise/ marriage-between-cloud-and-on-premise/ Azure API App and Logic App. In depth look into Hybrid Connector. Marriage between cloud and on- premise: triggers/#use-api-app-triggers-in-logic-appshttps://azure.microsoft.com/en-us/documentation/articles/app-service-api-dotnet- triggers/#use-api-app-triggers-in-logic-apps Oauth Client ID and Client Secret: Azure App Service API app triggers: service-api-dotnet-triggers/ service-api-dotnet-triggers/ Microsoft SQL Connector: logic-connector-sql/ logic-connector-sql/ Deploy from Visual Studio: logic-deploy-from-vs/ logic-deploy-from-vs/