Skip to content

Commit 8a29492

Browse files
authored
Merge pull request #96781 from MicrosoftDocs/master
11/21 AM Publish
2 parents e50a39e + 901054f commit 8a29492

File tree

60 files changed

+1748
-493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1748
-493
lines changed

articles/app-service/deploy-staging-slots.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ms.tgt_pltfrm: na
1515
ms.topic: article
1616
ms.date: 09/19/2019
1717
ms.author: cephalin
18+
ms.custom: fasttrack-edit
1819

1920
---
2021
# Set up staging environments in Azure App Service
@@ -245,6 +246,10 @@ After the setting is saved, the specified percentage of clients is randomly rout
245246

246247
After a client is automatically routed to a specific slot, it's "pinned" to that slot for the life of that client session. On the client browser, you can see which slot your session is pinned to by looking at the `x-ms-routing-name` cookie in your HTTP headers. A request that's routed to the "staging" slot has the cookie `x-ms-routing-name=staging`. A request that's routed to the production slot has the cookie `x-ms-routing-name=self`.
247248

249+
> [!NOTE]
250+
> Next to the Azure Portal, you can also use the [`az webapp traffic-routing set`](/cli/azure/webapp/traffic-routing.md#az-webapp-traffic-routing-set) command in the Azure CLI to set the routing percentages from CI/CD tools like DevOps pipelines or other automation systems.
251+
>
252+
248253
### Route production traffic manually
249254

250255
In addition to automatic traffic routing, App Service can route requests to a specific slot. This is useful when you want your users to be able to opt in to or opt out of your beta app. To route production traffic manually, you use the `x-ms-routing-name` query parameter.

0 commit comments

Comments
 (0)