Tag: maui
-
graphQLHttpClient Connection failure on Android, works on Windows
0 I have a Maui app which works just fine when I run it with as a Windows Machine, but switching to Android I get a connection failure. Same dev machine, same back-end server. It is running on localhost port 5001. According to the server logs, it is not even hitting the Endpoint to submit…
-
Error CS0029 Cannot implicitly convert type ‘System.Threading.Tasks.Task’ to ‘Type’
0 Getting the Error CS0029 Cannot implicitly convert type ‘System.Threading.Tasks.Task<peMove.Maui.Models.ErpPart>’ to ‘peMove.Maui.Models.ErpPart’. It can’t convert the ErpPart type to an ErpPart type?? This is probably fairly straight forward but new to C# (VB coder) and async operations. I have been struggling with a lot and am just not seeing it (or burnt out). MainPage.xmal.cs async…
-
Deadlocks whenever calling graphQLClient from Maui
0 I am really struggling to get any data returned from a GraphQL Query in Maui. I had the code in the initializer of the Page and was hitting Deadlocks. I get that now. So I have move the code to a button on a page. It is hanging on the line below the Task…
-
GraphQL.Client not returning results, but server completes the request
0 I am unable to retrieve the results of the GraphQL query response returned. The server logs that the request was finished with no error. But the program continues to wait for a response. In the code provided, the Debug.Print statement following the await graphQLHttpClient.SendQueryAsync is never reached. It just indefinitely hangs at this statement…
-
GraphQL (SendQueryAsync) deadlocked when executing from Maui ViewModel initializer
0 GraphQL query runs just fine when I run it in a C# console app. Using the exact same GraphQL Client, similar code and properties it hangs when I try to run it from a ViewModel initializer in Maui. An exception is thrown: "System.Reflection.TargetInvocationException: ‘Exception has been thrown by the target of an invocation.’" If…