Routing to a web app slot with query parameters

Akshay Hosur 1 Reputation point
2021-06-01T09:56:58.41+00:00

I have created a web app with multiple slots in azure, I can use it for my A|B testing.

Let’s say https://mysite.azurewebsites.net is my production site https://mysite-staging.azurewebsites.net is my staging site.

When I enable the traffic route (say 30%) to a staging slot, whenever a user hits the production URL with query parameters - https://mysite.azurewebsites.net/?name=xyz&id=1, it is routing that request to staging slot without query parameters https://mysite-staging.azurewebsites.net.

How can we route the request without dropping any query params?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,832 questions
{count} votes