1 write to PrimaryEndpoint
Aspire.Hosting.SqlServer (1)
SqlServerServerResource.cs (1)
23PrimaryEndpoint = new(this, PrimaryEndpointName);
5 references to PrimaryEndpoint
Aspire.Hosting.SqlServer (4)
SqlServerServerResource.cs (4)
35public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 40public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port); 49$"Server={PrimaryEndpoint.Property(EndpointProperty.IPV4Host)},{PrimaryEndpoint.Property(EndpointProperty.Port)};User ID={DefaultUserName};Password={PasswordParameter};TrustServerCertificate=true");
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
25var cs = builder.AddConnectionString("cs", ReferenceExpression.Create($"sql={db.Resource.Parent.PrimaryEndpoint};rows={insertionrows}"));