Quantcast
Channel: blog.atwork.at
Viewing all articles
Browse latest Browse all 1136

Working with the Azure Logic Apps Tools for Visual Studio

$
0
0

I like Azure LogicApps, they are really useful and easy to "develop" (see the latest features here). To use Visual Studio as designer environment, you can integrate the Azure Logic Apps Tools for Visual Studio easily. See how to work with that extension here.

The fastest way is to install the Azure Logic Apps Tools in the menu Tools / Extensions and Updates… Search for "logic app" and install this extension.

image

As an alternative, you can download the Azure Logic Apps Tools for Visual Studio extension from the Visual Studio Marketplace at Azure Logic Apps Tools for Visual Studio 2017.

image

Once installed, the designer integrates into Visual Studio with the current Azure Resource Group project so you can seamlessly work with resource deployments that include Logic Apps. Create a new Cloud / Resource Group project.

image

Now pick the template Logic App.

image

When the solution is ready, use the context menu of LogicApp.json and Open With Logic App Designer…

image

…and connect to an Azure subscription.

image

Now select your trigger in the main window. This works exactly as in the Azure Portal.

image

…and start developing your LogicApp..

image

Then let's deploy that LogicApp to Azure – as we do a deployment in Visual Studio.

SNAGHTML35ae88d

Now we need to define where the LogicApp shall be deployed. Click on the Edit Parameters... button to specify the LogicApp name. If you used any connections, they will also be visible here.

image

Clicking "Save" and then "Deploy" starts the process. You can check that in the Output window.

image

Until done. You will the final message "Successfully deployed template 'logicapp.json' to resource group '<myresourcegroup>'." Check it in the Azure Portal - Logic Apps.

image

Finally, let's run it in the Azure Portal (or from any tool by hitting the LogicApp endpoint).

image

Since we deployed the LogicApp, we can get the HTTP endpoint URL now from the designer in Azure for further usage.

image

The Azure Logic Apps Tools for Visual Studio extension is helpful for developers that are used to work with the VS environment. The downside for me is that the deployment takes some time and the integration for developing multiple LogicApps is not that great. So, for quickly working with LogicApps, the browser is a better alternative but the VS extension can be helpful, too.


Viewing all articles
Browse latest Browse all 1136