I have created an azure function in c sharp. a post api and i use Postman , it works perfectly fine. To get the database edmx to work (Add New -> ADO New Entity Model) - i have had to create a new project within my Azure function solution to store my edmx. All this works fine. I can do a simple POST API call in Postman and it updates the database - easy. I just added a reference between my azure function project and the edmx project.
When i came to publish the function , it didn't work. Does anyone know if the reference would be kept when i publish it to the azure service ? Also i cannot find decent logging on the azure portal.
And all i got in postman was :
{ "id": "40ed4254-21f9-4514-afdd-8a19facd569e", "requestId": "557e772e-a9a1-4922-b29a-8888529f0d02", "statusCode": 500, "errorCode": 0, "message": "An error has occurred. For more information, please check the logs for error ID 40ed4254-21f9-4514-afdd-8a19facd569e" }
Is it possilbe to add the edmx (ADO Entity framework - Add new) in the azure project ? Because when i did all i got was :