Publishing a Web API

We can publish a Web API straight to the website that was provisioned when we created it using the normal website publish procedure; however, we need to pay particular attention to the publish settings:

Publishing a Web API

Check Enable Organizational Authentication, enter the AD tenant Domain name, make sure to set the database connection string of the Azure database, and check Use this connection string at runtime (update destination web.config).

When we publish, we need to enter our AD tenant login credentials:

Publishing a Web API

When the publish process is complete, ...

Get Learning Microsoft Azure 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.