switching configurations between VS testing and deployment for WCF web service due to HTTPS -
requirement: need deploy wcf webservice application in iis 6 accessible https.
problem: difficult switch between debugging in visual studio (which cannot use ssl in vs 2008 asp.net development server because of web configuration settings.
what efficient way work around this? can manipulate https configuration bindings through code switch between servers? thanks!
if can set different build configurations asp.net development server , iis can either
- web.config transformations
- use post build event
example lets decide debug build used dev server , release iis. using post build event approach create 2 web.config files name web.config.debug , web.config.release. in post build event based on mode of build rename 1 of config file web.config.
first approach read docs. find web.config transformation difficult implement.
Comments
Post a Comment