MicrosoftDocs / playfab-docs

Documentation for the Azure PlayFab service for game development
Creative Commons Attribution 4.0 International
98 stars 126 forks source link

Documentation must be updated for Isolated Worker function model #527

Open kevinfoley opened 5 months ago

kevinfoley commented 5 months ago

The article "PlayFab CloudScript using Azure Functions Quickstart Guide" must be updated for the Azure Functions "Isolated Worker" model.

Currently, this page links to the article "Quickstart: Create a C# function in Azure using Visual Studio Code", which has the user create a new Function App that uses the .NET 8 Isolated Worker model. However, the rest of the PlayFab article shows code that only works under the In-Process model. For example,

[FunctionName("HelloWorld")]
        public static async Task<dynamic> Run(
            [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req,
            ILogger log)
        {

This code is specifically for the "In-Process" model and does not work under the "Isolated Worker" model.

A user who follows the current article as-is will end up with an invalid Function app that they cannot test.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.