Uno.Samples icon indicating copy to clipboard operation
Uno.Samples copied to clipboard

Refit configuration to consume an API does not work

Open SpiderArrow opened this issue 1 year ago • 0 comments

Hi, I have been working on a project where I wanted to consume an API and I followed the steps in the Uno documentation (Use Refit) to use Refit but for some reason the dependency injection doesn't work. This is my view model image my endpoint image my appsettings image my service configuration image my route configuration image my button in the Main that navigates to the Employees page image my command image

I added a breakpoint in the constructor of EmpViewModel but it doesn't stop the execution, when I remove the ID from my endpoint it stops.

What could be the cause of the dependency injection not working correctly?

SpiderArrow avatar Sep 26 '24 18:09 SpiderArrow