What do I need to do to start developing stateful or stateless workflows – Azure Logic Apps (Standard)? (Part I)

Microsoft Logic Apps Team recently announced a public preview of the new Logic Apps runtime. This new release adds several new features to Azure Logic Apps, including:

  • Development improvements
    • Full Logic Apps designer support in VS Code;
    • Local project support;
    • New Logic Apps Designer;
  • Hosting Flexibility – ability to run Logic apps workflows where you need to, including on-premises and edge environments
    • Run local (i.e. on my dev box);
    • Deploy to Azure or run containerized in Docker or Kubernetes environments;
  • Performance improvements
    • Stateless mode for low latency – better performance for request/response scenarios;

To create Logic Apps stateful or stateless workflows, you need to use Visual Studio Code and the Azure Logic Apps (Preview) extension – at the moment, there is no other way.

#1 Azure Monitoring Platform


To be able to use all capabilities of the Azure Logic Apps (Preview) extension for Visual Studio Code, you need:

  • To have Visual Studio Code 1.31.0 (January 2019) or later and you need the following VS Code extensions:
  • An Azure subscription or sign up for a free Azure account.
  • Microsoft Azure Storage Emulator 5.10 tool – This tool is necessary to have the full Logic Apps designer support in VS Code.
  • And finally, you need to install through the Microsoft Installer (MSI) the Azure Functions Core Tools, either version 3.0.2931 or 2.7.2936. These tools include a version of the same runtime that powers the Azure Functions runtime that runs in Visual Studio Code.

Install additional VS Code extensions

To start with, first, you must install the additional VS Code extension from the marketplace. To accomplish that, we need to:

To make sure that all the extensions are correctly installed, reload or restart the VS Code.

Install the Azure Storage Emulator 5.10 tool

To install the Azure Storage Emulator 5.10 tool, follow these steps:

  • Download the tool here: Azure Storage Emulator 5.10 and execute the microsoftazurestorageemulator.msi file.
  • On the Welcome to the Microsoft Azure Storage Emulator – v5.10 Setup Wizard screen, select Next.
  • On the Change, repair, or remove installation screen, select Repair.
  • On the Ready to repair Microsoft Azure Storage Emulator – v5.10 screen, select Repair.
  • On the Completed the Microsoft Azure Storage Emulator – v5.10 Setup Wizard screen, select Finish.

Install the Azure Functions Core Tools

To install the Azure Functions Core Tools, follow these steps:

  • On the End-User License Agreement screen, accept the terms and select Next.
  • On the Destination Folder screen, leave the default, and select Next.
  • On the Ready to install Microsoft Azure Functions Core Tools – 3.0.2931 (x64) screen, select Install.
  • On the Completed the Microsoft Azure Functions Core Tools – 3.0.2931 (x64) Setup Wizard screen, select Finish.
#1 Azure Monitoring Platform

Install Azure Logic Apps extension for Visual Studio Code

To accomplish that, we need to:

  • After installing this extension, you will find the two Azure Logic Apps (Preview) section of the Explore section of the VS Code, but the first thing you need to do is to Sign in to Azure…

Once again, to make sure that this extension is correctly installed, reload or restart the VS Code.

Set up VS Code Azure Logic Apps (preview) extension

For everything to work correctly, you need to make sure that the following two properties are correctly configured:

  • Azure Logic Apps V2: Panel Mode
  • Azure Logic Apps V2: Project Runtime

To do that, you need:

  • Open your VS Code, and on the File menu, go to Preferences, and then Settings.
  • On the User tab, go to > Extensions > Azure Logic Apps (Preview).
  • Check if the Enable panel mode option is selected on Azure Logic Apps V2: Panel Mode property. Otherwise, please enable it.
  • Under Azure Logic Apps V2: Project Runtime, set the version to ~3 or ~2, based on the Azure Functions Core Tools version that you installed earlier.
    • In our case: 3
    • If you want to use the Inline Code action for running JavaScript code, make sure that you use Project Runtime version 3 because the action doesn’t support version 2. Also, this action currently isn’t supported on Linux operating systems.

In the next blog post, we will explain how you can create your first Logic Apps (Preview) project. Stay tuned!

#1 Azure Monitoring Platform
Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

BizTalk Server

Over 650+ customers across
30+ countries depend on BizTalk360

Learn More

Operate efficiently with enterprise-grade Azure monitoring,
tracing, remediation & governance in one platform

Learn More

Back to Top