From 2d7a7c1f614e8bb5d46ed440ba1189f138baa354 Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Fri, 16 Sep 2022 18:55:28 -0400 Subject: [PATCH] use httpclient in pipeline --- BinaryDad.AacpsBusAlert.Web/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BinaryDad.AacpsBusAlert.Web/Program.cs b/BinaryDad.AacpsBusAlert.Web/Program.cs index a1d7cb6..ab3e354 100644 --- a/BinaryDad.AacpsBusAlert.Web/Program.cs +++ b/BinaryDad.AacpsBusAlert.Web/Program.cs @@ -5,6 +5,7 @@ var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllersWithViews(); builder.Services.AddTransient(); +builder.Services.AddHttpClient(); var app = builder.Build();