Azure connection string best practices

后端 未结 5 472
孤独总比滥情好
孤独总比滥情好 2020-11-30 20:43

I have an application that I am just migrating to Azure. Currently I use web.config transformation to manage changing the database connecting string dev/staging/prod environ

5条回答
  •  余生分开走
    2020-11-30 20:54

    I had the same requirement for transforming ServiceConfiguration.

    I went with the answer from jmac (thank you!), but had trouble with the namespace in the Base version:

    
    

    after a bit more poking around found this by Andrew Patterson (Thank You).

    so my resulting transform file:

    
    
        
        
            
        
    
    

提交回复
热议问题