question

alexeytsoy avatar image
alexeytsoy asked

Azure Function

Hello! After quick start i stopped on this section:

You have used Visual Studio Code to create a function app with a simple HTTP-triggered function. In the next article, you expand that function by connecting to either Azure Cosmos DB or Azure Storage. To learn more about connecting to other Azure services, see Add bindings to an existing function in Azure Functions.

Could you explaine for what purpose i need to connect to any DB?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

Please understand the link you have provided is Azure document. Since Azure Function has many capabilities, the document simply illustrates how to connect functions to other services by using input or output bindings. You may have some scenarios that require accessing external service via Azure function, however, it is not directly related to PlayFab core service.

PlayFab provides detailed integration tutorials on PlayFab CloudScript using Azure Functions Quickstart Guide - PlayFab | Microsoft Docs. After registered in Game Manager, developers are able to execute HTTP triggered or queue triggered function via native PlayFab API. Regarding advanced usage of Azure Function, you may consult Azure team.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.