Hi all, first time to ask here.
How would you approach to this problem, I have endpoint in aspnet core where I send file. When file get to controller I need to upload file on Azure blob storage and save file data in database (file name, description,...). When file get at blob container it will trigger blob azure function which need to read data from database.
So flow is this:
1)
- controller get file
- file is sent to blob storage
- save file information to database
2)
- blob trigger is activated
- read file information from database
How to solve this from 1), file is uploaded to blob storage and database throw exception, so I have blob file which will trigger azure function but don't have record in database?