Reputation: 2834
I have an Web API service currently sitting on an Azure Web app. It's used by mobile apps and have been thinking about how to do versioning as people might be using different version of the mobile app.
I've decided to do v1, v2 etc as different apps, so that when I move on to a new version I effectively freeze the previous version and not have to touch it at all.
One way of doing this is to create an sub application in my Azure Web App for each version, but have a few questions regarding this:
Thanks
Upvotes: 2
Views: 3504
Reputation: 27793
Do all apps within a Web App share the same app pool?
As far as I know, in Web Apps, each site and its child applications run in the same application pool. We could find detailed info at this article .
Is there just the one shared app config for all applications within in Web App? Using IIS each application would have it's own web.config but not sure if this is the case with Azure.
The application runs in its own directory with its own web.config. We could find the web.config files under each application directory via Kudu console or App Service Editor.
Upvotes: 1
Reputation: 72151
"It's important to emphasize that the slot is in itself a regular Azure Web App, it will have its own app settings, connection string, any other configuration settings and even an scm site (https://mysite-staging.scm.azurewebsites.net).
In fact by default each Azure Web App has a single deployment slot called production which is the Azure Web App itself."
http://blog.amitapple.com/post/2014/11/azure-websites-slots/#.WCLqF_mcFEY
Upvotes: 1