This session was recorded during the BizTalk Summit 2015 London event where Sameer Chabungbam from Microsoft product group explains how you can build your first connector and how you can make it work in Logic Apps.
2. Microsoft Azure
What we will see today
•What are Connectors and API Apps?
•Building your first Connector
•Make your Connector work for Logic App
•Implementing a Trigger
•Summary
3. Microsoft Azure
API APPS
Easily build and consume
APIs in the cloud
WEB APPS
Web apps that scale with your
business
LOGIC APPS
Automate business process
across SaaS and on-premises
MOBILE APPS
Build Mobile apps for any
device
Azure App Service
4. Microsoft Azure
A powerful platform for building and
managing APIs
Build once and consume any type of
app anywhere, at any time
A rich ecosystem for distributing and
monetizing APIs
Azure App Service API Apps
5. Microsoft Azure
Build on top of Azure App Service Web App
Support all kinds of REST APIs, new or existing
Simple yet powerful authentication support. Free your
API up from complex authentication handling
Expose API definition for metadata driven clients and
SDK code-gen
Powerful Platform
6. Microsoft Azure
One API platform for Web App, Mobile App and Logic
App. Maximize the value of the API.
Easy to optimize for each type of apps.
Integrated experience across different types of apps.
Build Once Consume Everywhere
7. Microsoft Azure
Public gallery for certified partners and community
developers.
Organization gallery with RBAC for enterprise.
Distribution and monetization channel to all Microsoft
cloud customers.
Rich Ecosystem
8. • Box
• Chatter
• Dropbox
• Azure HD Insight
• OneDrive
• SharePoint Server
• SharePoint Online
• SQL Server
• Office 365
• Oracle DB
• QuickBooks
• Salesforce
• SugarCRM
• SAP
• Azure Service Bus
• Azure Storage Blob
• Twilio
• Twitter
• IBM DB2
• Informix
• Websphere MQ
• Azure Web Jobs
• Yammer
• Facebook
• HTTP, HTTPS
• File
• FTP
• SFTP
• POP3
• SMTP
• Flat File Encoder
• Validate
• Extract (XPath)
• Transform
• X12
• EDIFACT
• AS2
• TPM
• Rules
Connectors
Protocols BizTalk Services
Built-in API Apps
And more on the way…
11. Microsoft Azure
What we saw
• Tools and SDK
• Visual Studio 2013
• Azure SDK 2.5.1 or above
• Write a Web API
• Make it into an API App
• Add Azure API App SDK
• Edit ApiApp.json
• Test locally using Swagger UI
• Publish your API App
11
13. Microsoft Azure
Optimize for Logic Apps
•Display names
•Response type
•Advanced operations
and properties
For Operation:
“summary”
For Parameters and Properties:
“x-ms-summary”
“default” response field
“x-ms-visibility” extension:
“advanced”
“internal”
14. Microsoft Azure
Swashbuckle
• Generates swagger
metadata for your API App
• Allows you to customize
swagger generation
• Operation Filters
• Schema Filters
• Document Filters
• All in SwaggerConfig.cs
14
16. Microsoft Azure
Dynamic Swagger
• Generate metadata depending on API
App Configuration
• Discover entities
• Provide a strongly typed API
• Operations can be dynamically added
• Input and output parameters can be
strongly typed
• Enhances user experience
• Allowed values as enumerations
18. Microsoft Azure
What we saw
•Add summary and other documentation in your API
Metadata
•Enable XML Comments
•Use Operation Filters to customize your swagger
18
19. Microsoft Azure
Triggers
• Triggers define when Logic Apps are run
• Manual or Schedule or WebHooks
• Connector Triggers – Polling or Push
• Connector Triggers (Polling)
• 200: Data is available, run the logic
• 202: No data is available, check again later
• ‘triggerState’ parameter to externalize state
• Optimize for Logic Apps
• Hide trigger specific properties
21. Microsoft Azure
Next Steps
•Debugging your API App
•Writing a Hybrid API App
•Using OAUTH
•Adding diagnostics and error handling
•Packaging your API App
22. Microsoft Azure
Key Takeaways
• A powerful platform for APIs
• A rich ecosystem for distributing and monetizing APIs
• Build your own API App or use from Marketplace
• Optimize your API Apps for Logic Apps
• Get involved – feedback, build your connector!
App Service has everything you need to build apps that target both web and mobile clients from a single app back-end.
Using API Apps, you can connect your app to dozens of popular services like Office 365 and salesforce.com in minutes, and integrate your own APIs so they can be used within any app.
And finally with Logic Apps, you can automate business processes using a simple no-code experience.
Today we are announcing App Service, a new service in Azure, which brings together the functionality of Azure Websites, Azure Mobile Services, and Azure Biztalk Services into a single development experience.
API Apps are built on top of – the same platform which powers Azure Web Apps,
PROVEN technonology
USE EXISTING TECHNOLOGY you are already familiar with
Focus on API Development.
Simple authentication
Isolated Storage
Hybrid Connections
API Definition and powerful tooling around it
SWAGGER 2.0 and WADL
AutoREST provides Client SDK
Leave API Management to the platform
You can build your API App once, and publish it.
Consume the same API App from Web Apps, Mobile Apps, and Logic Apps.
All the connectivity and tools you need to automate your modern business – with over 40 connectors and growing all the time with the ability for any 3rd party to contribute to our gallery.