PlayFab CloudScript using Azure Functions is a new feature that enables serverless compute on demand in the language of your choice. In order to do this we leverage Azure Functions and provide you with a tight integration via Visual Studio Code.
Using Azure Functions to run cloud code that is bound to a PlayFab title gives you the power of C# and strongly typed code. It also gives you the ability to leverage any number of Azure features such as CosmosDB.
Basing CloudScript on Azure Functions brings a few key improvements:
One of the major new capabilities of CloudScript is the ability to have long running CloudScript. This is introduced by having a new type of Cloud Script based on Azure Functions queued storage triggered Cloud Script. With this new type of CloudScript, you will need to decide the type of CloudScript to use for each CloudScript you create.
For more information about the advantages and limitations of each type of function you can read the Azure documentation of each:
To use this feature, you must bring your own Azure subscription. This means that usage charges will apply to your Azure subscription the same as if you used Azure Functions without a PlayFab integration. For more information about pricing, see Azure Function pricing on the Azure site.
In this learning path, discover Azure Functions that create event-driven, compute-on-demand systems using server-side logic to build serverless architectures.
Build end-to-end solutions in Microsoft Azure to create Azure Functions, implement and manage web apps, develop solutions utilizing Azure storage, and more.