Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.61 KB

functions-folder-structure.md

File metadata and controls

36 lines (31 loc) · 1.61 KB
title description author ms.service ms.topic ms.date ms.author ms.custom
include file
include file
ggailey777
azure-functions
include
09/12/2018
glenga
include file

The code for all the functions in a specific function app is located in a root project folder that contains a host configuration file and one or more subfolders. Each subfolder contains the code for a separate function. The folder structure is shown in the following representation:

FunctionApp
 | - host.json
 | - MyFirstFunction
 | | - function.json
 | | - ...  
 | - MySecondFunction
 | | - function.json
 | | - ...  
 | - SharedCode
 | - bin

In version 2.x and higher of the Functions runtime, all functions in the function app must share the same language stack.

The host.json file contains runtime-specific configurations and is in the root folder of the function app. A bin folder contains packages and other library files that the function app requires. See the language-specific requirements for a function app project: