From ed7a376a27f19b5a2a18e8d86cf26598f8b9f644 Mon Sep 17 00:00:00 2001 From: norman Date: Mon, 14 Mar 2022 10:59:03 +0800 Subject: [PATCH] fix unable to resovle IHttpClientFactory --- examples/AspNetCoreExample/Startup.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/AspNetCoreExample/Startup.cs b/examples/AspNetCoreExample/Startup.cs index c8149e3..166dbf2 100644 --- a/examples/AspNetCoreExample/Startup.cs +++ b/examples/AspNetCoreExample/Startup.cs @@ -51,6 +51,7 @@ public Startup(IConfiguration configuration, ILogger logger) public void ConfigureServices(IServiceCollection services) { services.AddMvc(); + services.AddHttpClient(); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.