Azure App Service :
Azure App Service includes the Web App + Mobile App capabilities that we previously delivered separately (as Azure Websites + Azure Mobile Services). It also includes powerful new Logic/Workflow App and API App capabilities that we are introducing today for the very first time – along with built-in connectors that make it super easy to build logic workflows that integrate with dozens of popular SaaS and on-premises applications (Office 365, SalesForce, Dynamics, OneDrive, Box, DropBox, Twilio, Twitter, Facebook, Marketo, and more).
Logic Apps :
Azure App Service is a fully managed PaaS (Platform as a Service) for developers that makes it easier to build web, mobile, and integration apps. Logic Apps are a part of this suite and allow any technical user or developer to automate business process execution and workflow using an easy-to-use visual designer.
Why Logic Apps?
Logic Apps allow developers to design workflows that start from a trigger and then execute a series of steps. Each step invokes an API whilst securely taking care of authentication and best practices, like checkpointing and durable execution.
Logic App Concepts :
The following are some of the key pieces that comprise the Logic Apps experience.
Workflow – Logic Apps provides a graphical way to model your business processes as a series of steps or a workflow.
Managed APIs – Your logic apps need access to data and services. Managed APIs are created specifically to aid you when you are connecting to and working with your data. See the list of APIs available now in managed APIs.
Triggers – Some Managed APIs can also act as a trigger. A trigger starts a new instance of a workflow based on a specific event, like the arrival of an e-mail or a change in your Azure Storage account.
Actions – Each step after the trigger in a workflow is called an action. Each action typically maps to an operation on your managed or custom API apps.
BizTalk – For more advanced integration scenarios, Logic Apps includes capabilities from Biztalk. Biztalk is Microsoft’s industry leading integration platform. The BizTalk API apps allow you to easily include validation, transformation, rules, and more in to your Logic App workflows.
Below is one of the sample Logic App configuration, Which will write the message onto Timeline of Facebook whenever the Service-Bus queue receives a message.
- After login into the New Azure Portal, Click on and select “+Newà Web+Mobile à Logic App”, as shown in the below screenshot.
- Enter the App Name and other details as shown in the below image.
- After successfully creating the App, you have to configure the Trigger and action.
- To configure the trigger and action,Select the “Service Bus- when a message is received in queue” from show Microsoft managed API’s.
- Enter the “Connection-Name” , “Service-Bus Connection-String” and Click on “Create Connection” button. Once after successful connection, enter the queue name.
- To perform the action, Add a action by clicking on “+” and select “Add a Action”.
- Select “Facebook-Post to my timeline” from show microsoft managed API’s. Signin to facebook and enter the data/information to be posted on timeline.
- After successfull configuration, run the trigger.
- Insert/Send a message to the queue. Once after successfully receiving the message by Queue, the action is executed and the message is posted on timeline.