I am new to cloud development with the combination of azure table storage + node.js. In all samples I found the connection string for azure storage is only those who have account with real windows azure. As I am developing in my local PC need to the configuration of local azure storage account.
I tried with connection string as:
<add key="AZURE_STORAGE_ACCOUNT" value="DevStorage"/>
<add key="AZURE_STORAGE_ACCESS_KEY" value="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="/>
It is possible connect azure storage via azure storage emulator not in code.
Can anyone get me the solution please??
Create your node.js table service client like this:
var azure = require('azure');
var tableClient = azure.createTableService(ServiceClient.DEVSTORE_STORAGE_ACCOUNT, ServiceClient.DEVSTORE_STORAGE_ACCESS_KEY, ServiceClient.DEVSTORE_TABLE_HOST);
By using DEVSTORE_STORAGE_ACCOUNT, DEVSTORE_STORAGE_ACCESS_KEY and DEVSTORE_BLOB_HOST, you're using the blob storage emulator settings which are hard coded in the node.js Azure SDK. This eliminates node.js configuration problems from the equation.
Try the connection information below to see if it's help.
Account Name = devstoreaccount1
Account key = Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==