Staging or Production Instance?

后端 未结 6 392
广开言路
广开言路 2020-11-29 18:45

Is there anywhere in the service runtime that would tell me if I\'m currently running on \'Staging\' or \'Production\'? Manually modifying the config to and from production

6条回答
  •  野性不改
    2020-11-29 19:22

    Staging is a temporary deployment slot used mainly for no-downtime upgrades and ability to roll back an upgrade.

    It is advised not to couple your system (either in code or in config) with such Azure specifics.

提交回复
热议问题