services | platforms | author |
---|---|---|
storage |
nodejs |
yaxia |
Demonstrates how to use the File Storage service. File storage stores unstructured data such as text, binary data, documents or media files. Files can be accessed from anywhere in the world via HTTP or HTTPS.
If you don't have a Microsoft Azure subscription you can get a FREE trial account here
This sample can be run using either the Azure Storage Emulator that installs as part of this SDK - or by updating the app.config file with your account name and key.
To run the sample using the Storage Service
- Open the app.config file and set the connection string for the emulator ("useDevelopmentStorage":false) and set the connection string for the storage service ("connectionString":"...")
- Create a Storage Account through the Azure Portal
- Provide your connection string for the storage service ("connectionString":"...") in the app.config file.
- Run the sample by: node ./fileSample.js