SUDALV
SUDALV

Reputation: 91

Get access to the file system in Windows Azure

I need store files in file system of Windows Azure. I trying save files to AppDomain.CurrentDomain.BaseDirectory + "Files" + filename, but it throw IOException. At my local server it works well. How to do this on Windows Azure?

Upvotes: 1

Views: 1044

Answers (1)

Gaurav Mantri
Gaurav Mantri

Reputation: 136306

You would need to change your application to make use of Local Storage. Check this link for more details: http://msdn.microsoft.com/en-us/library/windowsazure/ee758708.aspx.

Furthermore, its a bad idea to persist files on the VM itself unless these are temporary files. If you need to persist the files, save them in blob storage instead.

Upvotes: 1

Related Questions