ProjectLaunchDefaultsAnnotation
Classsealednet10.0
Marks a resource as launched through the .NET SDK, so that Aspire treats it like a C# project.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ProjectLaunchDefaultsAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Remarks
Section titled Remarks This is a public annotation rather than an interface so resources in other assemblies can opt into the C# project-defaults behavior without implementing a specific interface.
Constructors1
Section titled ConstructorsProperties1
Section titled Properties The https endpoint that was added as a default. It is excluded from the port and Kestrel override environment because the target (e.g. a container) likely won't listen on https.