Sorry if this question has already been asked, I couldn’t find anything so I thought I would ask.
It’s more a question about implementation pattern. I need to splice in some service URL’s t to the Web.config file and I can see that this is achievable and have managed it using the #{variable} notation, this is great (and also super easy to work with
My problem comes on my local environment. From what I can see for Octopus to pick up these variables to splice they need to be in the config as something like:
<endpoint address="#{BaseURL}/somecommonfolderstructure/endpoint.svc" />
When I deploy to a server I can replace using octopus the BaseURL and it works perfectly. But my question is what happens on local? Or more precisely what pattern do you suggest for working with variables like this locally? So that I can just run my app from visual studio and it will not fall over because the endpoint is literally “BaseURL”.
Hope this makes some sense.
Thank you