1 write to PrimaryEndpoint
Aspire.Hosting.SqlServer (1)
SqlServerServerResource.cs (1)
23
PrimaryEndpoint
= new(this, PrimaryEndpointName);
5 references to PrimaryEndpoint
Aspire.Hosting.SqlServer (4)
SqlServerServerResource.cs (4)
35
public EndpointReferenceExpression Host =>
PrimaryEndpoint
.Property(EndpointProperty.Host);
40
public 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)
25
var cs = builder.AddConnectionString("cs", ReferenceExpression.Create($"sql={db.Resource.Parent.
PrimaryEndpoint
};rows={insertionrows}"));