Share via


AspireTablesExtensions Class

Definition

Provides extension methods for registering TableServiceClient as a singleton in the services provided by the IHostApplicationBuilder.

public static class AspireTablesExtensions
type AspireTablesExtensions = class
Public Module AspireTablesExtensions
Inheritance
AspireTablesExtensions

Methods

AddAzureTableClient(IHostApplicationBuilder, String, Action<AzureDataTablesSettings>, Action<IAzureClientBuilder<TableServiceClient,TableClientOptions>>)

Registers TableServiceClient as a singleton in the services provided by the builder. Enables retries, corresponding health check, logging and telemetry.

AddKeyedAzureTableClient(IHostApplicationBuilder, String, Action<AzureDataTablesSettings>, Action<IAzureClientBuilder<TableServiceClient,TableClientOptions>>)

Registers TableServiceClient as a singleton for given name in the services provided by the builder. Enables retries, corresponding health check, logging and telemetry.

Applies to