We have an application that we would like to migrate to Azure.There is a requirement in which a virtual temporary folder is created if not exist and a dynamic html page is to be created based on some user input which has been done in asp.net previously.How this can be achieved in azure web role.
I tried this requirement by adding a folder name called "Preview" and generated the html file under the preview folder.This works fine in the development machine(local). But it is throwing an exception in the live environment like Directory Not found Exception (E:\siteroot\0\preview\previewbasic.htm).
I would like to preview the html page which was created dynamically in the preview folder if we specify the url in the browser as [siteurl].cloudapp.net/preview/preview.htm.
My question is 1.Can we create a dynamic folder called "preview" in azure web role. 2.Can we generate a html file say(preview.htm) under this folder in web role. 3.Can this file be accessed as [siteurl].cloudapp.net/preview/preview.htm
I hope the question is somewhat clear now. Any help would be much appreciated.