Is running LogicApps as `dotnet-isolated` a supported feature?

Alexander Clare 0 Reputation points
2023-06-22T20:39:26.1633333+00:00

transferred from this github-discussion

We´re currently developing some line-of-business (LOB) custom-connectors in order to be able to automate various tasks in our business. One thing we didn´t find anywhere documented / sampled is a way to "hook" into a workflows "lifecycle"-events, such as started, ended (or failed, maybe).

As there may be other things that´d be good to have finer grained control over, I started to try to host LogicApps (Standard) in a dotnet-isolated-mode, following these instructions here. Current hope is that this way we could levereage some middleware (or similar) to achieve the initial goal, as well as having complete control over the apps start-process, etc. seems like a nice benefit, also.

Sadly, I´m facing various issues when trying to get this running. I´ve got the feeling that I´d "just" need to reflect the same startup-configuration which azure functions core tools does in order to get LogicApps (Standard) in dotnet-mode up and running, but currently am missing the needed pieces / directions.

So:

  1. Is dotnet-isolated a supported mode to host LogicApps (Standard) ? If so, are there any directions on how to configure the necessary services, etc. in program.cs?
  2. Is there maybe another way to "hook" into described "lifecycle"-events?
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-09-06T12:04:18.5333333+00:00

    Hey @Anonymous firstly we apologise this was missed

    please do bump with a comment after a couple of working days if you don't receive a comment or answer. There is a responsive community for this tag (and other PaaS tags) working to ensure questions get answered. However in this case we could have done better.

    To your question.

    Yes it's supported for Logic Apps Standard , but it doesnt work in the way you may have expected , it's supported to enable a subset of features.
    See Kent Weare's comment from this blog https://techcommunity.microsoft.com/t5/azure-integration-services-blog/net-framework-assembly-support-added-to-azure-logic-apps/ba-p/3669120
    Comment:
    *"When the FUNCTIONS_WORKER_RUNTIME is changed to dotnet-isolated, it is only used for features that need it like XSLT + .NET, new Data Mapper and upcoming .NET custom code feature. For features that don't use these components, they will be executed in node like the Inline Code action you specified. So you can think of it as additive as opposed to a replacement. "
    *
    If you need a feature that requires it you can change the setting in the config as described in the blog. No further steps should be required.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.