From the course: Visual Studio Tools for Azure Developers

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Publish the function to the portal

Publish the function to the portal

From the course: Visual Studio Tools for Azure Developers

Start my 1-month free trial

Publish the function to the portal

- [Instructor] When you are satisfied with the code, it's time to publish it to Azure. Right-click on the project, pick your publishing target, which is our Azure App Service. Let's talk about that app service. The Function App is published to an app service, the platform for hosting web apps, web APIs, and function apps. It's basically web hosting as a service. I'll create a new one, then I also get to choose whether or not to run from a package file. In Azure, you can run your functions directly from the deployment package file on your Function App. The other option is to deploy your files into the WWW root directory of your Function App. There are some benefits of using the package. For one, it reduces the risk of file copy-locking issues. This package is read-only, it can't be edited on Azure. Instead, make changes in Visual Studio and deploy the new package. Next stop is to create a profile or publish immediately. I like to do the profile. Here is the name generated for me. I'll…

Contents