然后在Controller 中通过构造注入的试获得 IHttpClientFactory ,然后通过它来创建HttpClient 对象。示例代码: public class ValuesController : ...
確定! 回上一頁