Basic terms

  • http trigger function
  • Rust is not supported by Azure functions and thus code option needs to be selected for deploying. For more information check azure functions custom handler
  • To deploy your team’s code to Azure, combination of Azure Storage Accounts andAzure Functions can be used.
  • Check all language supported.

Creating a function

  • Available runtime languages,
  • Select the Operating system
  • For monitoring Azure Service Application Insight can be enabled,
  • Types of functions,
  • Resources has following folders,
  • Use this to test the function,
  • .csx file is created for CSharp file, it is called c sharp script.
  • Get function URL gives the URL that can be hit.
  • Create new project, and then go to this screen,

CB- Azure Function- Get Product

CB- Azure Function- Post Product

  • The Azure Functions app shows the functions like this after pushing from Visual Studio, refresh button will need to be pressed after pushing,

Questions

  • Q. To what all Azure services can Azure Functions connect? If it same as Azure App Service with just difference in way the code is written for it, the structure only? Can a dotnet core project be converted to Azure Functions?
  • Q. How is Authentication handled for Azure Functions?
  • Q. Is there any way to build Authorization for an API created with Azure Functions?
  • Q. What is he going to teach in Post adding a method? Is it about adding a post method? How will the Authentication and Authorization be handled here?
  • Q. In Postman here, will we need to provide a token in the header?
  • Q. How do the Azure Functions know which method to call? Is it defined infunction_json ?
  • Q. What are some practical use cases of Azure Functions?
  • Q. What are available language runtime here?
  • Q. In tut, why had app service plan getting used for Azure functions?
  • Q. How to configure the type of method in Azure functiosn?
  • Q. Why is log.LogInformation(“test”) used to log data in Azure function? Which nuget package is this a part of?
  • Q. What will be the folder structure of Azure functions project in Visual studio?
  • Q. From which nuget package is [HttpClientTrigger] imported?
  • Q. How to call an Azure function from a web app? How to authenticate the UI app to make the function call?