How to call api method from child to parant razor component in Blazor webassembly

Kuldeep Y 41 Reputation points
2022-04-22T13:02:27.287+00:00

Hii,
i am getting some error when i call api from chilld razor component to parant razor component using Parameter Attribute but the HttpClient object goes null that time and i am not getting the api response 195622-screenshot-125.png195530-screenshot-126.png195586-screenshot-127.png195614-screenshot-128.png

Developer technologies | .NET | Blazor
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.