Ray Hogan
Ray Hogan

Reputation: 349

Local Azure Storage Accounts - Where to find the connection string

I am playing with an Azure Web Job project in Visual Studio (C#) that is triggered from messages added to a storage account queue.

At present I cannot find a way to determine the connection string of my local queues.

enter image description here

When I select my local storage account I don't see any properties

However, when I select an Azure hosted storage account I get a lot more properties, including a connection string:

enter image description here

For the job to work I need to provide these app config values: enter image description here

The Azure Storage Account emulator is running on my machine.

Upvotes: 5

Views: 6187

Answers (1)

Jerry Liu
Jerry Liu

Reputation: 17800

Just use UseDevelopmentStorage=true as the value of connectionString.

And remember to update your Microsoft.Azure.WebJobs package to latest version(>=v2.0.0) or the emulator connection string can't be recognized.

Upvotes: 7

Related Questions