microsoft / hack-together

Hack Together: Microsoft Graph and .NET is a hackathon for .NET developers to learn Microsoft Graph and Microsoft 365.
MIT License
523 stars 85 forks source link

Project: MAUI App Tutorial #119

Open KingdomCross opened 1 year ago

KingdomCross commented 1 year ago

Project name

MAUI App Tutorial

Description

This is my first time making this type of project. It did not go well but I want to submit it to show that I tried. This project was following the tutorial but could not solve why it is not working.

https://learn.microsoft.com/en-us/windows/apps/windows-dotnet-maui/tutorial-graph-api

Repo URL

https://github.com/KingdomCross/hack-together/tree/main/templates/dotnet-maui-app-microsoft-graph

Team members

KingdomCross

waldekmastykarz commented 1 year ago

Thanks for letting us know, @KingdomCross. Would you mind telling us more about what's not working so that we can fix it?

KingdomCross commented 1 year ago

Thanks for letting us know, @KingdomCross. Would you mind telling us more about what's not working so that we can fix it?

From the tutorial, I was able to login but it does not Load User Info. It catches an error Console.WriteLine($"Error loading user details: {ex}");

Another from section Update the user interface to display user information. It told me to add observable properties to the MainViewModel but I was not able to find that script, nor do I believe adding MainViewModel would help. So I took it that I did not understand the step.

waldekmastykarz commented 1 year ago

Can you please share with us the exception that you get when trying to load user info?

KingdomCross commented 1 year ago

I just now fixed that part when running the starting template. It did not work before and now it did, it is weird. Thank you for that though.

waldekmastykarz commented 1 year ago

Thank you for your submission!