2 writes to ServiceUri
Aspire.Azure.Storage.Queues (2)
AzureStorageQueueSettings.cs (1)
48ServiceUri = uri;
AzureStorageQueuesSettings.cs (1)
62ServiceUri = uri;
16 references to ServiceUri
Aspire.Azure.Storage.Queues (13)
AspireQueueStorageExtensions.cs (12)
35/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureStorageQueuesSettings.ConnectionString"/> nor <see cref="AzureStorageQueuesSettings.ServiceUri"/> is provided.</exception> 57/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureStorageQueuesSettings.ConnectionString"/> nor <see cref="AzureStorageQueuesSettings.ServiceUri"/> is provided.</exception> 80/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureStorageQueuesSettings.ConnectionString"/> nor <see cref="AzureStorageQueuesSettings.ServiceUri"/> is provided.</exception> 102/// <exception cref="InvalidOperationException">Thrown when neither <see cref="AzureStorageQueuesSettings.ConnectionString"/> nor <see cref="AzureStorageQueuesSettings.ServiceUri"/> is provided.</exception> 131/// Neither <see cref="AzureStorageQueuesSettings.ConnectionString"/> nor <see cref="AzureStorageQueuesSettings.ServiceUri"/> is provided. 165/// Neither <see cref="AzureStorageQueuesSettings.ConnectionString"/> nor <see cref="AzureStorageQueuesSettings.ServiceUri"/> is provided. 190if (string.IsNullOrEmpty(connectionString) && settings.ServiceUri is null) 198? new QueueServiceClient(settings.ServiceUri, cred, options) 199: new QueueServiceClient(settings.ServiceUri, options); 244if (string.IsNullOrEmpty(connectionString) && settings.ServiceUri is null) 250cred is not null ? new QueueServiceClient(settings.ServiceUri, cred, options) : 251new QueueServiceClient(settings.ServiceUri, options);
AzureStorageQueuesSettings.cs (1)
18/// If <see cref="ConnectionString"/> is set, it overrides <see cref="ServiceUri"/> and <see cref="Credential"/>.
Aspire.Azure.Storage.Queues.Tests (3)
AzureStorageQueueSettingsTests.cs (3)
35Assert.Equal("https://example.queuename.core.windows.net/", settings.ServiceUri?.ToString()); 51Assert.Null(settings.ServiceUri); 64Assert.Null(settings.ServiceUri);