Automated tool for Silverlight XAP deployment with web services -
are there tools, or processes deploying web services , silverlight applications rely on those, , have able automatically change web services url , port numbers in configuration files automatically?
right finding myself having change web service configuration on server , have edit configuration inside xap. pain when deploying small iterations several servers (test, sales, demo, production, etc.). know write custom code, want avoid if can.
it's painful forgetting make change , getting call later tester.
for 1 of our projects had similar problem our servicereferences file. our solution define several servicereferences, .config each build configuration. eg. servicereferences.clientconfig.qadeploy, servicereferences.clientconfig.debug, etc
.
the project generates xap has post-build event copy appropriate config file output location:
copy "$(projectdir)servicereferences.clientconfig.$(configurationname)" "$(projectdir)servicereferences.clientconfig" /y
if have fixed set of servers deploy to, can used web.configs too.
Comments
Post a Comment