From 760c83457aa92ca2c1dd1b088d8a45798b23070e Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Fri, 22 Jul 2022 09:30:51 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"refactor:=20=E7=A7=BB=E9=99=A4=20ICac?= =?UTF-8?q?heManager=20=E6=9C=8D=E5=8A=A1=E4=BB=A3=E7=A0=81"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 544441a5fca542a561ae9ddc030942ca058c6fec. --- .../Extensions/ApplicationBuilderExtensions.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/blazor/admin/BootstrapAdmin.Web/Extensions/ApplicationBuilderExtensions.cs b/src/blazor/admin/BootstrapAdmin.Web/Extensions/ApplicationBuilderExtensions.cs index b824885c..ce21afb4 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Extensions/ApplicationBuilderExtensions.cs +++ b/src/blazor/admin/BootstrapAdmin.Web/Extensions/ApplicationBuilderExtensions.cs @@ -26,6 +26,9 @@ public static class ApplicationBuilderExtensions builder.UseAuthentication(); builder.UseAuthorization(); + // 激活 ICacheManager + builder.Services.GetRequiredService(); + return builder; } }