blazor.net with HttpClient sending credenials
blazor.net with HttpClient sending credenials I have a api hosted on IIS that I am trying to call through a Blazor.Net client app with the HttpClient as provided in the example. Blazor.Net HttpClient Since the api endpoint is hosted on IIS with windows authentication, I need to include credentials when the call is made. I tried to create an instance of the httpClient instead of using the static method provided in the examples but I receive the PlatformNotSupported exception . httpClient PlatformNotSupported Is there a way to pass credentials with the Static HttpClient as used in Blazor.net ? HttpClient Blazor.net If I use JavaScript interop with XMLHttpRequest and set withCredentials to true , the api returns data. However I would rather not use js to get the data but rather C#. XMLHttpRequest withCredentials true Thanks, 2 Answers 2 I believe your solution should resides in this class: Mic...