An Azure service that provides an event-driven serverless compute platform.
Thanks for reaching out.
It appears that you are directly running the code in the Azure http triggered function portal as a csx file. However in the article you are referring to, the function code is written in visual Studio. Since the dlls and assemblies are missing in the portal, you are getting these compile time errors in the log console.
I would suggest you to use Visual Studio and follow the steps mentioned in the below article to create a http trigger
https://learn.microsoft.com/en-us/azure/azure-functions/functions-develop-vs?tabs=in-process
Once you have created a http triggered function, you can add/ import the necessary dlls/nuget packages and then make sure it is working properly in your local development machine. Once you have confirmed that it is working as expected, you can deploy the function to Azure Functions runtime directly from Visual Studio.
Deploy function to Azure using Visual Studio : https://learn.microsoft.com/en-us/azure/azure-functions/functions-develop-vs?tabs=in-process#publish-to-azure
Please note that, once you have deployed/published to Azure , you wont be able to edit the function code in the portal as it becomes read only. It is an easy process to debug and compile the function in Visual Studio and then publish to Azure.
Feel free to reach out here if you face any issues or have any doubts.
I hope this helps!
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.