In Azure, how to deploy to production slot using Visual Studio? -
i'm trying learn how deploy web application azure using visual studio 2015. deploy simple web application (without creating slot). moved arm portal , found there isn't slot. however, when try swap, can see "production" option in source & destination drop down lists.
i created slot , tried publish web application again, see 1 slot, newly created slot (please see screen shot)
i'm bit confused. according understanding, there should default slot can deploy , swap to/from it.
any ideas?
as far know, "testwithdb20170822062605" application default application. directly select web app. if publish application this. regard production app.
if select testwithdbslot2, publish application newly created slot.
firstly, if select "testwithdb20170822062605" application, vs publish application testwithdb20170822062605.azurewebsites.net.
this according url not slot or else.
but if swap web app.
it
testwithdb20170822062605.azurewebsites.net --------> testwithdbslot2
testwithdbslot2.azurewebsites.net -----------> production
so find publish application slot testwithdbslot2, url still testwithdb20170822062605.azurewebsites.net. according url not slot name.
wiki
Comments
Post a Comment