❔ Call API From Web API on Blazor Server
Hello respected community members,
I am new to Blazor Server and I am currently trying to fetch data from a .NET Core Web API to populate a data table. I am struggling with getting the data and then displaying it in my Blazor component.
I have an HttpClient service and I'm sending a GET request to my API endpoint. The API is working correctly.
However, I am having trouble deserializing this JSON response and showing it in a table in my Blazor component.
Here is the pertinent part of my code:
I am new to Blazor Server and I am currently trying to fetch data from a .NET Core Web API to populate a data table. I am struggling with getting the data and then displaying it in my Blazor component.
I have an HttpClient service and I'm sending a GET request to my API endpoint. The API is working correctly.
However, I am having trouble deserializing this JSON response and showing it in a table in my Blazor component.
Here is the pertinent part of my code:
