Is the following scenario possible in azure?:
I need to build an app that will do some heavy processing behind based on user submission and return the results as a file to user.
- Step 1: User submits the data via REST call to my endpoint (asp.net web api)
- Step 2: Web role return's the url to the report (that was not created yet!)
- Step 3: My endpoint passes the work to worker role and do the heavy job (2-3 minutes)
- Step 4: Worker role ends the job and creates a report file and upload it to azure storage blob
- Step X: THIS IS WHAT I NEED TO KNOW IF IT'S POSSIBLE: At Stept 2 after the user makes the call I need to return the url to the report which is not created yet, right away (I don't want user to wait for minutes or run in time-out issues). I know that that report file will be unique and therefore I need to know if I can generate the url to the azure blob storage to my report123.docx that has not been created yet ? However after 2-3 minutes when the report is ready, the user will be able to access that report with the generated url from step 2.
Something like: after the user make's the call the service will respond: here is the url to your report come-back in 2 minutes ...