Click here to Skip to main content
15,881,413 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Kicking the Can Down the Road Pin
#realJSOP5-Mar-21 2:44
mve#realJSOP5-Mar-21 2:44 
GeneralRe: Kicking the Can Down the Road Pin
NightPen5-Mar-21 7:57
NightPen5-Mar-21 7:57 
GeneralRe: Kicking the Can Down the Road Pin
pkfox5-Mar-21 10:15
professionalpkfox5-Mar-21 10:15 
GeneralRe: Kicking the Can Down the Road Pin
Rick York2-Mar-21 6:14
mveRick York2-Mar-21 6:14 
GeneralRe: Kicking the Can Down the Road Pin
#realJSOP2-Mar-21 7:17
mve#realJSOP2-Mar-21 7:17 
GeneralRe: Kicking the Can Down the Road Pin
Rick York2-Mar-21 8:02
mveRick York2-Mar-21 8:02 
GeneralRe: Kicking the Can Down the Road Pin
pkfox5-Mar-21 10:16
professionalpkfox5-Mar-21 10:16 
GeneralRe: Kicking the Can Down the Road Pin
DerekT-P2-Mar-21 6:55
professionalDerekT-P2-Mar-21 6:55 
I too have an aversion to having to "tweak" anything when moving between environments. I use a method that involves only one line of code, inserting the IIS instance ID into the connection string name. Then I code all the (encrypted) connection strings in config, but with names that include the instance ID. I use a similar method to include a visual cue as to which environment is which on the webpage (e.g. different background colour, and/or a text reminder in top-right of all screens). I was going to include the code to do this but it's the lounge after all. For more, see this tip[^] I wrote a while back. Using it for config strings is exactly the same concept and just as easy.
Of course if you're not running under IIS then you need some other unique environment indicator...
GeneralNever, Never say 'I know a bit about that' in a stand up Pin
glennPattonWork31-Mar-21 22:40
professionalglennPattonWork31-Mar-21 22:40 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
Johnny J.2-Mar-21 0:53
professionalJohnny J.2-Mar-21 0:53 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
20212a2-Mar-21 1:13
20212a2-Mar-21 1:13 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
glennPattonWork32-Mar-21 1:35
professionalglennPattonWork32-Mar-21 1:35 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
peterkmx2-Mar-21 3:17
professionalpeterkmx2-Mar-21 3:17 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
glennPattonWork32-Mar-21 3:18
professionalglennPattonWork32-Mar-21 3:18 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
peterkmx2-Mar-21 3:27
professionalpeterkmx2-Mar-21 3:27 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
PIEBALDconsult2-Mar-21 4:40
mvePIEBALDconsult2-Mar-21 4:40 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
glennPattonWork32-Mar-21 8:13
professionalglennPattonWork32-Mar-21 8:13 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
Rick York2-Mar-21 5:48
mveRick York2-Mar-21 5:48 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
glennPattonWork32-Mar-21 10:51
professionalglennPattonWork32-Mar-21 10:51 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
Rick York2-Mar-21 14:50
mveRick York2-Mar-21 14:50 
GeneralCCC 2021-03-02 Pin
Peter_in_27801-Mar-21 22:19
professionalPeter_in_27801-Mar-21 22:19 
GeneralRe: CCC 2021-03-02 Pin
Greg Utas2-Mar-21 0:45
professionalGreg Utas2-Mar-21 0:45 
GeneralRe: CCC 2021-03-02 Pin
OriginalGriff2-Mar-21 0:52
mveOriginalGriff2-Mar-21 0:52 
GeneralRe: CCC 2021-03-02 Pin
yacCarsten2-Mar-21 1:06
yacCarsten2-Mar-21 1:06 
GeneralRe: CCC 2021-03-02 Pin
Peter_in_27802-Mar-21 1:03
professionalPeter_in_27802-Mar-21 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.