Hello, the "HelloWorld" example code given here does not compile. Multiple using statements are required:
using Newtonsoft.Json;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;
Even after adding those, there are still multiple issues with the example code:
HttpRequest does not contain a ReadAsStringAsync function (unless I'm wrong about which using statements I've included.
The "FunctionName" attribute can't be found. I think this should instead be "Function"
I have not been able to get azure functions to return a proper response via playfab, nor have I been able to get interaction with playfab data/APIs to work at all. Old outdated examples and bad documentation like this is the main thing that has been causing me confusion -- I have no idea how to proceed even after scouring all the docs.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: b983a98a-cd59-bd62-eda6-5cdfabacc256
Version Independent ID: 0e90c26b-45f2-3a0c-1af1-a0aa5a0e1261
Hello, the "HelloWorld" example code given here does not compile. Multiple
using
statements are required:using Newtonsoft.Json;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;
Even after adding those, there are still multiple issues with the example code:
ReadAsStringAsync
function (unless I'm wrong about whichusing
statements I've included.I have not been able to get azure functions to return a proper response via playfab, nor have I been able to get interaction with playfab data/APIs to work at all. Old outdated examples and bad documentation like this is the main thing that has been causing me confusion -- I have no idea how to proceed even after scouring all the docs.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.