Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Split FunctionApp & WebApp

See original GitHub issue

I am trying to create support for selecting runtime stack for WebApp, but now in code the function for creating ArmTemplate record considers functionApp as another “version” of WebApp. The problem is, that even if they are close together, they do not offer exactly the same options for setup.

FunctionApp: image

WebApp: image

Also each template writes Runtime Stack in slightly different way.


"appSettings": [
  "value": "dotnet"


"appSettings": ... omited
"metadata": [
  "name": "CURRENT_STACK",
  "value": "dotnetcore"

This would force me to do another if logic in writer logic (where anonymous record would differ based on whether Kind contains functionApp or not), which doesn’t sound too clean to me. Also thinking about adding another options like always_on, which is not available in FunctionApp template, the if would appear more than once.

Proposal: Add FunctionApp as another SupportedResource case (even if it is neeearly same as WebApp) and also add different Runtime stack values for each type as it is now in Azure Portal.

Good idea, wrong idea, total nonsense? What do you think @isaacabraham?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

Dzoukrcommented, Sep 30, 2019

but one of the goals I had for types in Farmer.fs e.g. WebApp was to try to keep the format relatively close to what the final output would look like

I know what you mean… I’ll try keep the current structure first (and add new DU for runtime stack) and we will see. It is fresh meat so we can still easily refactor later.

isaacabrahamcommented, Oct 4, 2019

Reopening - we can close this issue as part of the PR acceptance process 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Split function in Power Apps - Power Platform
The Split function breaks a text string into a table of substrings. Use Split to break up comma delimited lists, dates that use...
Read more >
Splitting up Azure Functions without creating new ...
The problem with that approach is that 2 function apps means 2 config settings, and if that is expanded throughout the system its...
Read more >
Split your web application into smaller web applications
This log post describes how you can split your web application by treating it as several small web applications that work seamlessly ...
Read more >
Developing a web app from a design, how should I split the ...
I would like to know how I should go about splitting up the work into tasks/stories for developing a web application?
Read more >
PowerApps In and Split Functions - YouTube
In this video, you will learn how to use the In and Split functions to mark items in a gallery as favorites. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found