# DotnetProgramResource

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `interface`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents a resource backed by a .NET program, such as a project file or a file-based app.

## Remarks

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
apply project metadata, launch defaults, build coordination, or SDK container publishing.
Use the configuration supplied by the resource's builder API.

## Definition

```go
type DotnetProgramResource interface{}
```
