From 03efecf49d0359d55ee697e4990fce0dc13e93d7 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 7 Jan 2026 08:50:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=20HttpClient?= =?UTF-8?q?=20MemoryCache=20=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Extensions/ServiceCollectionExtension.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/BootstrapBlazor.BaiduSpeech/Extensions/ServiceCollectionExtension.cs b/src/components/BootstrapBlazor.BaiduSpeech/Extensions/ServiceCollectionExtension.cs index e4725af2..3d43de8f 100644 --- a/src/components/BootstrapBlazor.BaiduSpeech/Extensions/ServiceCollectionExtension.cs +++ b/src/components/BootstrapBlazor.BaiduSpeech/Extensions/ServiceCollectionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. +// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ @@ -21,9 +21,6 @@ public static class ServiceCollectionExtension public static IServiceCollection AddBootstrapBlazorBaiduSpeech(this IServiceCollection services, Action< BaiduSpeechOption>? configOptions = null) { - services.AddHttpClient(); - services.AddMemoryCache(); - services.TryAddScoped(); services.AddScoped(); From 9ad762bb02bbd69738b48b9347a94d6f36549776 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 7 Jan 2026 08:50:18 +0800 Subject: [PATCH 2/2] chore: bump version 10.0.2 --- .../BootstrapBlazor.BaiduSpeech.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/BootstrapBlazor.BaiduSpeech/BootstrapBlazor.BaiduSpeech.csproj b/src/components/BootstrapBlazor.BaiduSpeech/BootstrapBlazor.BaiduSpeech.csproj index a6d4139f..1ae631a0 100644 --- a/src/components/BootstrapBlazor.BaiduSpeech/BootstrapBlazor.BaiduSpeech.csproj +++ b/src/components/BootstrapBlazor.BaiduSpeech/BootstrapBlazor.BaiduSpeech.csproj @@ -1,7 +1,7 @@ - + - 10.0.1 + 10.0.2