4 writes to Endpoint
Aspire.Azure.Search.Documents (2)
AzureSearchSettings.cs (2)
62
Endpoint
= uri;
73
Endpoint
= serviceUri;
Aspire.Azure.Search.Documents.Tests (2)
AspireAzureSearchExtensionsTests.cs (2)
56
builder.AddKeyedAzureSearchClient("search", settings => { settings.
Endpoint
= searchEndpoint; settings.Key = key; });
60
builder.AddAzureSearchClient("search", settings => { settings.
Endpoint
= searchEndpoint; settings.Key = key; });
4 references to Endpoint
Aspire.Azure.Search.Documents (4)
AspireAzureSearchExtensions.cs (4)
75
if (settings.
Endpoint
is null)
77
throw new InvalidOperationException($"A SearchIndexClient could not be configured. Ensure valid connection information was provided in 'ConnectionStrings:{connectionName}' or specify an '{nameof(AzureSearchSettings.
Endpoint
)}' in the '{configurationSectionName}' configuration section.");
82
return new SearchIndexClient(settings.
Endpoint
, new AzureKeyCredential(settings.Key), options);
86
return new SearchIndexClient(settings.
Endpoint
, settings.Credential ?? new DefaultAzureCredential(), options);