14 references to AddConnectionString
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.Tests (1)
AzureContainerAppsTests.cs (1)
788var rawCs = builder.AddConnectionString("cs");
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
118var externalResource = builder.AddConnectionString("connectionString");
Aspire.Hosting.Tests (7)
AddParameterTests.cs (1)
294appBuilder.AddConnectionString("mycs");
Schema\SchemaTests.cs (1)
37builder.AddConnectionString("foo");
WaitForTests.cs (1)
95var cs = builder.AddConnectionString("cs");
WithReferenceTests.cs (4)
165var missingResource = builder.AddConnectionString("missingresource"); 186var resource = builder.AddConnectionString("resource"); 202var resource = builder.AddConnectionString("resource"); 218var resource = builder.AddConnectionString("resource", "MY_ENV");
TestingAppHost1.AppHost (1)
Program.cs (1)
12builder.AddConnectionString("cs");