
Azure App Services Overview and API Endpoints
Discover the world of Azure App Services with insights from Amie Seisay, featuring her background, certifications, and a deep dive into API Apps, Swagger 2.0, and custom API development. Learn about RESTful web services, connectors, and the power of Swashbuckle in enhancing WebApi projects.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Welcome to Azure App Services! Amie Seisay www.seisayitsolutions.com amie@seisayitsolutions.com @AmieSeisay
Background Where It All Began Over 10 Years Experience @AmieSeisay
Background What I Enjoy Change Management Developer SharePoint Server Farm Architecture Lots of JavaScript and CSS! Training @AmieSeisay
Background - Certifications Certified Technical Trainer ITIL Foundation MCTS 70-667: Microsoft SharePoint 2010, Configuration CIW v5 Associate Macromedia Dreamweaver 8 SharePoint 2010 Administration @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: http://petstore.swagger.io/ JSON Format Visualization @AmieSeisay
Whats Swashbuckle? Not these guys Source: Noise Creep http://noisecreep.com @AmieSeisay
Swashbuckle Seamlessly adds a Swagger to WebApi projects! https://www.nuget.org/packages/Swashbuckle 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 email 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 https://msdn.microsoft.com/en-us/library/azure/dd179357.aspx @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 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
Gotchas! SQL databases in Azure Change firewall settings so that you can work with in Visual Studio @AmieSeisay
Resources Introducing the Azure API Apps Tools for Visual Studio 2013: http://blogs.msdn.com/b/visualstudio/archive/2015/03/24/introducing-the-azure-api-apps-tools- for-visual-studio-2013.aspx Use Logic Apps features: https://azure.microsoft.com/en-us/documentation/articles/app-service- logic-use-logic-app-features/ ASP .NET Web API Documentation using Swagger: http://bitoftech.net/2014/08/25/asp-net-web-api- documentation-using-swagger/ ASP .NET Web API Videos: http://www.asp.net/web-api/videos/getting-started/aspnet-web-api http://blogs.biztalk360.com/azure-api-app-and-logic-app-in-depth-look-into-hybrid-connector- marriage-between-cloud-and-on-premise/ Azure API App and Logic App. In depth look into Hybrid Connector. Marriage between cloud and on- premise: https://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: https://sellerdashboard.microsoft.com/Keys Azure App Service API app triggers: https://azure.microsoft.com/en-us/documentation/articles/app- service-api-dotnet-triggers/ Microsoft SQL Connector: https://azure.microsoft.com/en-us/documentation/articles/app-service- logic-connector-sql/ Deploy from Visual Studio: http://azure.microsoft.com/en-us/documentation/articles/app-service- logic-deploy-from-vs/ @AmieSeisay