Note that there are some explanatory texts on larger screens.

plurals
  1. POweb app & web services deployment together?
    text
    copied!<p>I have a question about how to deploy website and its referenced web services from Dev environment to production environment by using some easy method.</p> <p>Our deploy structure is basically like Desktop->Dev Server->Production Server.</p> <p>Now, I create a web service (just named MailingServices for example), I deploy it Dev Server, the URL link should like: <a href="http://192.168.3.17:90/MailingServices.asmx" rel="nofollow">http://192.168.3.17:90/MailingServices.asmx</a></p> <p>and then I deploy it to production server where link is probably like <a href="http://202.70.115.114:90/MailingServices.asmx" rel="nofollow">http://202.70.115.114:90/MailingServices.asmx</a></p> <p>Now I create one asp.net website to consume this mailing services. </p> <p>I create this website in my desktop computer, and add a reference to MailingServices Dev link which is <a href="http://192.168.3.17:90/MailingServices.asmx" rel="nofollow">http://192.168.3.17:90/MailingServices.asmx</a>, and then I check in the website to its dev environment, this stage is fine: Website Dev reference Web Services Dev.</p> <p>But If deploy this website into its production server, how can I change the url link of that web services from its dev link to live link?</p> <p>I currently know that when the website is deployed to production server, you can over-write the link in web.config file of website, but asp.net generates some other XML files when it add a web service reference, well I can over-write these xml files too.</p> <p>However, I think this not an easy and appropriate way to complete this whole task, So I come to ask if you guys have anyone suggestion about this?</p> <p>Many Thanks.</p> <p><em><strong>Edited</em></strong><br /> Development Environment:<br /> Server: windows 2008<br /> Web: ASP.NET 3.5/4.0, IIS6.0+<br /> Source Control: VSS 2005, we do not have Automation Build &amp; Continuous Integration</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload