skip to Main Content

Asp.net – C# Deserializing Dictionary<string, Dictionary<string, List<string>>>

I try to deserialize a json response: var res = await Http.GetAsync("api/endpoint"); var resBody = await res.Content.ReadAsStringAsync(); var listOfDicts = JsonSerializer.Deserialize<List<Dictionary<string, Dictionary<string, List<string>>>>(resBody); This is the json we get from the endpoint: [ { "key":"Activities", "value":{ "Delete":[ "string1", "string2", "string3"…

VIEW QUESTION

Error publishing Blazor Webassembly to Azure App Service. (netsdk1147: to build this project, the following workloads must be installed: wasm-tools)

When publishing blazor webassembly project to an azure app service, I get the following error "C:Program Filesdotnetsdk7.0.402SdksMicrosoft.NET.SdktargetsMicrosoft.NET.Sdk.ImportWorkloads.targets(38,5): Error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools To install these workloads, run the following command: dotnet workload…

VIEW QUESTION
Back To Top
Search