Open objetitos opened 1 year ago
Great find, had the same issue with VS2022 and NET 7.0.
Just wanna say thank you, and btw put some down thumbs to the repo maintainer.
Thank you! Also fixed https://github.com/dotnet-presentations/blazor-workshop/issues/360 for me
Hello. I am using VS2022 with NET 7.0 I followed the workshop ok from 00-get-started up to 06-authentication. I couldn't get the AuthorizeView component to show up properly (only showed the three dots).
Afte debugging, it turns out I need to explicitly add
[JsonSerializable(typeof(Dictionary<string,string>))]
to the list in Order.cs. Otherwise, after the call to_configuration/{clientId}
the serializer returns null, resulting in the exception.Regards, Miguel