Louis S. Berman
Louis S. Berman

Reputation: 994

How do I do per-instance Azure Worker-Role configuration?

In need to deploy 3 different worker roles but each needs it's own configuration (user name, password, etc.) to connect to a trading server. I can't share the credentials across the instances.

If anyone knows how to accomplish this I would be very appreciative!

Thanks...

Upvotes: 0

Views: 309

Answers (1)

Sandrino Di Mattia
Sandrino Di Mattia

Reputation: 24895

Do you mean you have 1 Worker Role with 3 instances? You should switch to 3 Worker Roles instead (different projects in Visual Studio). This allows you to configure each Worker Role independently (double click each Worker Role in the Azure project and go to the settings tab). Your common code can be in a shared assembly referenced by all 3 Worker Roles.

Upvotes: 3

Related Questions