AspireAzureSearchExtensions
Class static net10.0
Provides extension methods for registering
Indexes.SearchIndexClient as a singleton in the services provided by the Hosting.IHostApplicationBuilder. namespace Microsoft.Extensions.Hosting;
public static class AspireAzureSearchExtensions{ // ...}Methods2
Section titled MethodsAddAzureSearchClient(IHostApplicationBuilder, string, Action<AzureSearchSettings>, Action<IAzureClientBuilder<SearchIndexClient, SearchClientOptions>>)extension Registers
Indexes.SearchIndexClient as a singleton in the services provided by the builder. AddKeyedAzureSearchClient(IHostApplicationBuilder, string, Action<AzureSearchSettings>, Action<IAzureClientBuilder<SearchIndexClient, SearchClientOptions>>)extension Registers
Indexes.SearchIndexClient as a singleton for given name in the services provided by the builder.