简体   繁体   中英

Missing property direction in Azure HTTP functions

newbie here to code and especially with Azure. I hit a rock with bellow placed Azure functions code. When I press F5 to load it goes to an error saying " Missing property direction "

I'm wondering whether this is a missing extension error or something else, the code is from the video course and the tutor still has not responded to the message, if anyone can help? PS there are two function files with the same error:

processOrderCosmos, processOrderStorage

在此处输入图像描述

If the Azure Functions is on C# Class Library , the direction property will not be defined in function.json .

In fact, it will get direction according to the .dll file generated when you compiled the Azure Function.

As Anand Sowmithiran said, direction:in is required in function.json when you use trigger in the declaration part of the C# Azure Function.

This function.json file will be in debug or release folder of the Azure Functions Solution.

Refer here for more information on function.json entries and keep the track of this similar issue recorded in GitHub Issues Repo which is in open state.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM