Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Gela
Posts
Comments
C
C#
•
Created by Camster on 10/23/2024 in
#help
✅ HttpClient Base Address Null in Blazor WASM
If you want a default client, try adding without the generics.
14 replies
C
C#
•
Created by Camster on 10/23/2024 in
#help
✅ HttpClient Base Address Null in Blazor WASM
At least that’s what I remember
14 replies
C
C#
•
Created by Camster on 10/23/2024 in
#help
✅ HttpClient Base Address Null in Blazor WASM
However, if you want to get your clients via the IHttpClient you can add them with an identifier, and call CreateClient by passing its identifier as a string
14 replies
C
C#
•
Created by Camster on 10/23/2024 in
#help
✅ HttpClient Base Address Null in Blazor WASM
So you’d be able to get it in the Client class, via dependency injection
14 replies
C
C#
•
Created by Camster on 10/23/2024 in
#help
✅ HttpClient Base Address Null in Blazor WASM
You’re adding the given http client to the “Client” class
14 replies
C
C#
•
Created by M!RFAN on 10/14/2024 in
#help
.Net 8 Web Api Config
Could you elaborate? I didn't understand anything
79 replies