Azure Function - what about the function.json file?

Nico 0 Reputation points
2024-04-24T11:30:55.1566667+00:00

Hey there,

I remember, that defining Azure Functions in VS Code in TypeScript was done, by creating an index.ts and a corresponding function.json file. At least, this was the way with Azure Functions 1.x.

Now, using 4.4.0 I noticed, that even the "func new" command only creates a .ts-File but not a function.json. It also uses a app-Object, imported from @azure/functions. But when I do it this way, publishing the functions does not work. It uploads the code, but no Function is created.

What am I doing wrong?

Thanks for any hint!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,302 questions
0 comments No comments
{count} votes