2

This is part of Web.config

  <endpoint address="http://localhost:1001/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_I" contract="API.I" name="BasicHttpBinding_IStore" />      

I wan't to change address="http://localhost:1001/" to address="http://10.133.1.5:1001/" or any when deploy with Octopus. I read Document but don't understand, anyone can help my issue. Thanks

1 Answer 1

4

You can either do a web.config xml transform within the project and use the XML transform feature within Octopus: http://docs.octopusdeploy.com/display/OD/Configuration+files

Or you can use Octopus variables and replace variables in files within Octopus: http://docs.octopusdeploy.com/display/OD/Substitute+Variables+in+Files

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.