David3
1
When I try to call a Blazor Server ApiController from a Blazor Client:
alpachaAccount = await Http.GetFromJsonAsync(“api/AlpacaAccount”);
I get this exception message:
Deserialization of interface types is not supported.
How do you recommend deserialization into strongly typed variables using C#?
Just use existing .NET SDK that solves all the problems related to Alpaca connection and available on NuGet.
David3
3
The .NET SDK has worked great in a Blazor server project but doesn’t work in a browser webassembly project.
Just open GitHub issue and I’ll check that we can do for adding WebAssembly (Mono-wasm AFAIU) support