publishing - Can you get Target Environment web.config transforms when packaging an Azure Web Role? -
i'm quite used publishing websites iis , azure using publish profiles feature of visual studio 2012. big feature me ability specify configuration transform file per environment, such can apply both "release" config transform , "production" config transform produce single result release build tailored production environment.
now i'm trying build azure worker role, supports idea of multiple discrete configurations role , apply "release" or "debug" build configuration transforms depending on packaging settings.
is possible apply target environment config transform web.config in similar fashion how publishing works?
to clarify, want apply multiple config transforms web.config of web application hosted in web role based on build configuration , target environment.
have @ answer here: azure web role configuration settings across environments
the best solution i've found keep web.config transforms (debug/release).
then separately, keep individual cloud deployment projects each target environment going deploy (e.g. localemulator, qa, production).
it possible have clouddeployment level config transforms, (i.e. on serviceconfiguration.cscfg) can have single service definition per cloud deployment. (see note below). if end in situation need different scaling, instance or endpoint options different environments, option falls down. best solution i've found 1 cloud deployment project per environment.
note might/would possible build config transform system csdef file using ctt.exe or slowcheetah more work required needs.
Comments
Post a Comment