I am running a query in WASM which may or may not return rows. In server side Blazor, I could just use .Any() on the results but in WASM it does not get this far because it gets a NullReferenceException at the ReadAsync<ODataServiceResult>() step.
The response is {"@odata.context":"http://localhost:5000/odata/sforms2/$metadata#Studentinfos","value":[]}
The database is new and the table in question is currently empty (no rows) so the response is correct but of course there is nothing to read from value.
I understand. At least I can see that the Odata.count is a difference so I can dig a bit more around that at a later stage. Meanwhile, I'm going to push this project out as server side Blazor instead.
Please send us your application along with your database as SQL script at info@radzen.com. You can use some sharing service like Google Drive, One Drive, etc.