Deploying the code on the web app

The next step is to deploy our code into the web app service. To be able to do that, we need the FTP URL and the user credentials. We can find these in the profile for our web app service, under the Get Publish Profile option.

When we select the Get Publish Profile option, Azure provides us with a .publishsettings file which will have details for both FTP and FTPS. For our web app service, the file will have content similar to the following:

<publishData><publishProfile profileName="SampleTrello-FTP - Web Deploy" publishMethod="MSDeploy" publishUrl="sampletrello-ftp.scm.azurewebsites.net:443" msdeploySite="SampleTrello-FTP" userName="$SampleTrello-FTP" userPWD="muHSB0Aqpjgcr9JLfSGzs0m8JEBuxZqh7hr2XrmDtqzZ6jE5D1ljce1hbQkf" ...

Get TypeScript 2.x By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.