adoma
❔ Why is my deserialize not working here:
im doing a Get request to this
static readonly HttpClient httpClient = new HttpClient()
{
BaseAddress = new Uri("http://localhost:5000/api/")
};
and it workes but the problem is that all the values is shown as null here
WriteLine($"Id: {game.Id}");
WriteLine($"Title: {game.Title}"); WriteLine($"Description: {game.Description}"); WriteLine($"Release Date: {game.ReleaseDate}"); WriteLine($"Genre: {game.Genre}"); WriteLine($"Image URL: {game.ImageUrl}");
16 replies