Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example code is non-functional #508

Open
ChuckMayo opened this issue Feb 19, 2024 · 0 comments
Open

example code is non-functional #508

ChuckMayo opened this issue Feb 19, 2024 · 0 comments
Assignees
Labels
Health Triaged Triaged within product health

Comments

@ChuckMayo
Copy link

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.

@thomasgu thomasgu added the Health Triaged Triaged within product health label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Health Triaged Triaged within product health
Projects
None yet
Development

No branches or pull requests

3 participants