User Tools

Site Tools


azure_logic_apps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
azure_logic_apps [2017/02/27 17:15]
shawn Creating custom connector
azure_logic_apps [2017/05/16 18:13] (current)
shawn
Line 1: Line 1:
-====== Creating a custom connector ​======+**See also:** //​[[http://​codemastershawn.com/​2017/​03/​09/​creating-a-custom-azure-logic-apps-connector/​|Creating a custom Azure Logic Apps connector]]//​ on my blog. 
 + 
 +**History:​** BizTalk -> SharePoint workflow manager -> Logic Apps. 
 + 
 +  * //Flow// is a "​lite"​ version of Logic Apps for Office365. 
 +  * //Power Apps// is a forms creator/​editor for Logic Apps/​Flow. 
 + 
 +====== Connectors (developing) ====== 
 + 
 +//​Connectors//​ **are=>​** //Azure API Apps// **are=>​** //Web API// apps. 
 + 
 +Two types: 
 + 
 +  * Actions - "​Regular old Web API actions"​ ((https://​blog.geist.no/​custom-connectors-taking-azure-logic-and-api-apps-for-a-spin-part-2/​)) 
 +  * Triggers 
 +    * First connector **must** be a trigger. 
 +    * //Push// or //pull//. 
 +    * More complex than just a Web API action. 
 + 
 +**Project file:** ''​apiapp.json''​ 
 + 
 +===== Creating a custom connector =====
  
 Basic steps (taken [[https://​social.msdn.microsoft.com/​Forums/​en-US/​7ec2754a-9df4-46ff-aa62-cd6a6d375229/​how-to-create-my-own-custom-connectorsapi-apps-for-logic-apps?​forum=azurelogicapps|from support forum]]) Basic steps (taken [[https://​social.msdn.microsoft.com/​Forums/​en-US/​7ec2754a-9df4-46ff-aa62-cd6a6d375229/​how-to-create-my-own-custom-connectorsapi-apps-for-logic-apps?​forum=azurelogicapps|from support forum]])
  
   - Install the Azure SDK   - Install the Azure SDK
-  - Create a API App in Visual Studio (New Project -> Web -> API App (Preview))+  - Create a API App in Visual Studio (New Project -> Web -> API App)
   - Implement a controller that contains your method   - Implement a controller that contains your method
   - Enable Swagger: Goto App_Start/​SwaggerConfig and Remove the comment before EnableSwaggerUI (About line 176).   - Enable Swagger: Goto App_Start/​SwaggerConfig and Remove the comment before EnableSwaggerUI (About line 176).
Line 12: Line 33:
 === Resources === === Resources ===
  
-  * [[https://​www.youtube.com/​watch?​v=BcQ2SwedDu4|Azure API Apps for Web, Mobile and Logic Apps]] ​(2015)+  * [[https://​www.youtube.com/​watch?​v=BcQ2SwedDu4|Azure API Apps for Web, Mobile and Logic Apps]] ​video from %%//​Build/​%% ​2015. 
-  * [[http://​blogs.u2u.be/​michael/​post/​2017/​02/​24/​Creating-connectors-for-your-Logic-AppsFlow-(Part-1-regular-Connectors).aspx|Creating connectors for your Logic Apps/Flow (Part 1–regular Connectors)]]. +  * [[http://​blogs.u2u.be/​michael/​post/​2017/​02/​24/​Creating-connectors-for-your-Logic-AppsFlow-(Part-1-regular-Connectors).aspx|Creating connectors for your Logic Apps/Flow (Part 1–regular Connectors)]] ​(Feb. 2017). 
-  * [[https://​blog.geist.no/​custom-connectors-taking-azure-logic-and-api-apps-for-a-spin-part-2/​|Custom connectors, taking Azure Logic and API apps for a spin - Part 2]].+  * [[https://​docs.microsoft.com/​en-us/​azure/​logic-apps/​logic-apps-create-api-app|Creating a custom API to use with Logic Apps]] (2016)
 +  * [[https://​blog.geist.no/​custom-connectors-taking-azure-logic-and-api-apps-for-a-spin-part-2/​|Custom connectors, taking Azure Logic and API apps for a spin - Part 2]] (21015).
   * [[https://​github.com/​logicappsio|Example connectors]] source on GitHub.   * [[https://​github.com/​logicappsio|Example connectors]] source on GitHub.
  
azure_logic_apps.1488244527.txt.gz · Last modified: 2017/02/27 17:15 by shawn