[Solved] Blazor WebAPI to Client deserialization exception (PocoJsonSerializerStrategy)


Don’t know if it is that, but my experience with Blazor 0.7, still working on application for master thesis, is that you can’t neither send or receive nested object at once.
I have Person in my database and that Person has some stores, so entity maps it in object similar to this one
Person{ id:int, name:string, lastName:string, stores:List<Store>} ,
Store{id:int, name:string, personId:int}

and first had to get person and then go to database with id of person to get stores for that person.
Don’t know reason why but think that in that version it is not possible.

1

solved Blazor WebAPI to Client deserialization exception (PocoJsonSerializerStrategy)