diff --git a/src/components/BootstrapBlazor.AzureTranslator/BootstrapBlazor.AzureTranslator.csproj b/src/components/BootstrapBlazor.AzureTranslator/BootstrapBlazor.AzureTranslator.csproj index f667bc4a..0c2a96ab 100644 --- a/src/components/BootstrapBlazor.AzureTranslator/BootstrapBlazor.AzureTranslator.csproj +++ b/src/components/BootstrapBlazor.AzureTranslator/BootstrapBlazor.AzureTranslator.csproj @@ -1,5 +1,9 @@  + + 10.0.1 + + Bootstrap Blazor Azure WebAssembly wasm Translator Components Bootstrap UI components extensions of Azure Translator diff --git a/src/components/BootstrapBlazor.AzureTranslator/Extensions/ServiceCollectionExtensions.cs b/src/components/BootstrapBlazor.AzureTranslator/Extensions/ServiceCollectionExtensions.cs index cff96600..5737abdd 100644 --- a/src/components/BootstrapBlazor.AzureTranslator/Extensions/ServiceCollectionExtensions.cs +++ b/src/components/BootstrapBlazor.AzureTranslator/Extensions/ServiceCollectionExtensions.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/ @@ -20,8 +20,6 @@ public static class ServiceCollectionExtensions public static IServiceCollection AddBootstrapBlazorAzureTranslator(this IServiceCollection services, Action< AzureTranslatorOption>? configOptions = null) { - services.AddHttpClient(); - services.AddSingleton(); services.AddOptionsMonitor();