I have a website in azure which I want to create pdfs from templates. I need some where to store the pdf while I'm creating it. After some searching round I thought the best way to handle this would be through Local Storage. I added a Windows azure cloud service project to my web app. I then added local storage to the role for my web app. Locally I can now create pdfs from templates and store them in blob storage. However when I publish the app to azure it no longer works. I thought I might need to create a cloud service in azure from my local cloud service project so created a package to do this. The cloud service is now running but I still can't access local storage.
The line:
Dim myReportsStorage As LocalResource = RoleEnvironment.GetLocalResource("myReports")
works locally but fails when I publish the website to azure. I'm not sure if I somehow need to link my website and my cloud service in azure but I can't see how to do this.
If anyone can help with this I would be very grateful.