1 write to PrimaryEndpoint
Aspire.Hosting.SqlServer (1)
SqlServerServerResource.cs (1)
24PrimaryEndpoint = new(this, PrimaryEndpointName);
8 references to PrimaryEndpoint
Aspire.Hosting.Azure.ServiceBus (1)
SqlServerConnectionAnnotation.cs (1)
25public EndpointReference Endpoint => SqlServer.PrimaryEndpoint;
Aspire.Hosting.Azure.Sql (1)
AzureSqlServerResource.cs (1)
95ReferenceExpression.Create($"{InnerResource!.PrimaryEndpoint.Property(EndpointProperty.Host)}") :
Aspire.Hosting.SqlServer (5)
SqlServerBuilderExtensions.cs (1)
188var port = resource.PrimaryEndpoint.TargetPort ?? throw new DistributedApplicationException("The SQL Server REPL port is not available.");
SqlServerServerResource.cs (4)
36public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 41public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port); 50$"Server={PrimaryEndpoint.Property(EndpointProperty.IPV4Host)},{PrimaryEndpoint.Property(EndpointProperty.Port)};User ID={DefaultUserName};Password={PasswordParameter};TrustServerCertificate=true");
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
27var cs = builder.AddConnectionString("cs", ReferenceExpression.Create($"sql={db.Resource.Parent.PrimaryEndpoint};rows={insertionrows}"));