Watch Aspire live streamsDocsTry Aspire

IDotnetProgramResource

Interfacenet10.0
📦 Aspire.Hosting v13.6.0
Represents a resource backed by a .NET program, such as a project file or a file-based app.
namespace Aspire.Hosting.ApplicationModel;
public interface IDotnetProgramResource
: Aspire.Hosting.ApplicationModel.IResource
{
// ...
}
This interface identifies the source-program model shared by legacy ProjectResource instances and language integrations such as Aspire.Hosting.Dotnet. Implementing this interface does not by itself enable SDK container publishing; use the publishing configuration supplied by the resource's builder API.