Questions tagged [.net-5]

This latest iteration of .NET has now taken over from both .NET Core and .NET Framework. Any inquiries related to the specifications of .NET 5 can be asked using this tag.

Is there a way to gracefully deserialize a nested timespan property using System.Text.Json?

I am currently working on deserializing JSON data using System.Text.Json and converters. After examining the raw HTTP response content, it appears that the JSON data is valid. The converter responsible for deserializing the content into the specified obse ...

Unraveling nested quoted objects with System.Text.Json in .Net 5

These are the two classes I have: public class RootObj { public int a { get; set; } public SubObj sub { get; set; } } public class SubObj { public int b { get; set; } } The JSON string that needs to be deserialized looks like this: { " ...

Error encountered when creating a new project using ASP.NET Core (.NET 5) and Angular 11

When I start a new ASP.NET Core Web API + Angular project in Visual Studio by using: dotnet new angular, it sets up a .NET 5 project with an Angular 8.2 project in the ClientApp folder. After hitting F5, everything runs smoothly. However, I want to work ...