Azure worker role accessing web role configuration file -
i have cloud service webrole , workerrole. within webrole, have 9 different deployment configurations, each own connection strings. these connection strings encrypted.
for ease of use, have created function in webrole return connection string web.config.
within workerrole, have added reference webrole dll. can call function above connection string deployment configuration need.
this worked month. stopped working, , returning development connection string. don't understand why work while, , stop.
i assume configurations in .cscfg file? if yes, deployed .cscfg file development connection strings in workerrole's configuration section. can see configuration values in management portal verify this.
Comments
Post a Comment