27 references to ParameterResourceBuilderExtensions
Aspire.Hosting (4)
IDistributedApplicationBuilder.cs (4)
182/// The following example shows the implementation of the <see cref="ParameterResourceBuilderExtensions.AddConnectionString(IDistributedApplicationBuilder, string, string?)"/> 186/// The <see cref="ParameterResourceBuilderExtensions.AddConnectionString(IDistributedApplicationBuilder, string, string?)" /> method creates a new 187/// <see cref="ParameterResource"/> in the application model. The return type of <see cref="ParameterResourceBuilderExtensions.AddConnectionString(IDistributedApplicationBuilder, string, string?)"/> 191/// To work around this issue the <see cref="ParameterResourceBuilderExtensions.AddConnectionString(IDistributedApplicationBuilder, string, string?)"/> method wraps the
Aspire.Hosting.Azure (1)
AzureResourceExtensions.cs (1)
23ParameterResourceBuilderExtensions.ConfigureConnectionStringManifestPublisher((IResourceBuilder<IResourceWithConnectionString>)builder);
Aspire.Hosting.Azure.PostgreSQL (1)
AzurePostgresExtensions.cs (1)
336ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder.ApplicationBuilder, $"{builder.Resource.Name}-password");
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
54var passwordParameter = password?.Resource ?? ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-password");
Aspire.Hosting.Keycloak (1)
KeycloakResourceBuilderExtensions.cs (1)
52var passwordParameter = adminPassword?.Resource ?? ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-password");
Aspire.Hosting.Milvus (1)
MilvusBuilderExtensions.cs (1)
50ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-key");
Aspire.Hosting.MongoDB (1)
MongoDBBuilderExtensions.cs (1)
57var passwordParameter = password?.Resource ?? ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-password", special: false);
Aspire.Hosting.MySql (1)
MySqlBuilderExtensions.cs (1)
34var passwordParameter = password?.Resource ?? ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-password");
Aspire.Hosting.MySql.Tests (1)
MySqlPublicApiTests.cs (1)
149var password = ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(distributedApplicationBuilder, "password", special: false);
Aspire.Hosting.Oracle (1)
OracleDatabaseBuilderExtensions.cs (1)
30var passwordParameter = password?.Resource ?? ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-password");
Aspire.Hosting.Orleans (2)
OrleansService.cs (2)
20ServiceId = ParameterResourceBuilderExtensions.CreateGeneratedParameter(builder, $"{name}-service-id", secret: false, new GenerateParameterDefault 26ClusterId = ParameterResourceBuilderExtensions.CreateGeneratedParameter(builder, $"{name}-cluster-id", secret: false, new GenerateParameterDefault
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
49var passwordParameter = password?.Resource ?? ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-password");
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
47ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-Key", special: false);
Aspire.Hosting.Qdrant.Tests (1)
QdrantPublicApiTests.cs (1)
104var apiKey = ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(distributedApplicationBuilder, key, special: false);
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
38var passwordParameter = password?.Resource ?? ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-password", special: false);
Aspire.Hosting.RabbitMQ.Tests (1)
RabbitMQPublicApiTests.cs (1)
99var password = ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(distributedApplicationBuilder, "password", special: false);
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
32var passwordParameter = password?.Resource ?? ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-password", minLower: 1, minUpper: 1, minNumeric: 1);
Aspire.Hosting.SqlServer.Tests (6)
SqlServerPublicApiTests.cs (6)
116var password = ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(distributedApplicationBuilder, key, special: false); 131var password = ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(distributedApplicationBuilder, "password", special: false); 146var password = ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(distributedApplicationBuilder, "password", special: false); 161var password = ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(distributedApplicationBuilder, "password", special: false); 176var password = ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(distributedApplicationBuilder, "password", special: false); 191var password = ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(distributedApplicationBuilder, "password", special: false);