09 Mar 2023 10:41
This request is for the Upload component to allow using a named HttpClient for connecting to the Web API. This would alleviate the need to enter authentication headers in the OnUpload event if the named HttpClient has already been configured for all of that at startup. I see 2 potential options for this. Either provide a string parameter that contains the name of the HttpClient that was set up at startup. This way when you instantiate an HttpClient, you can use a factory to create it by name. Or provide an IHttpClient parameter where the user can directly pass in the client to the component.