HttpClient is not being registered
I can confirm that the client.BaseAddress is correct.
For some reason the HttpClient is not getting registered in my AdminService. The base address is coming up null.
I do have the IAdminService scoped to both my client and server side apps. Not sure if that would be a problem (I am doing this, since when I wasn't my app just wouldn't work)
3 Replies
The above debugging is from the AdminService on my clientside
Sorted it, relied to heavily on impliclty defined variables. Even though I thought I had confirmed they were correcct
i.e. builder.HostEnvironment.BaseAddress
Like it would register as correct
But for some reason it decided it didn't want to persist to my AdminService
Scratch that, shit still broken