services | platforms | author |
---|---|---|
storage |
nodejs |
minet-MSFT |
Demonstrates how to perform common tasks using the Microsoft Azure Table storage including creating a table, CRUD operations, batch operations and different querying techniques.
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 config.json file with your account name and key. To run the sample using the Storage Emulator (default option):
- Download and Install the Azure Storage Emulator here.
- Start the Azure Storage Emulator (once only) by pressing the Start button or the Windows key and searching for it by typing "Azure Storage Emulator". Select it from the list of applications to start it.
- Open the config.json file and set the configuration for the emulator ("useDevelopmentStorage":true).
- Run the sample by: node ./tableSample.js
To run the sample using the Storage Service
- Open the config.json 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 config.json file.
- Run the sample by: node ./tableSample.js