# ExecutableResourceExtensions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/ExecutableResourceExtensions.cs)

Provides extension methods for working with [ExecutableResource](/reference/api/csharp/aspire.hosting/executableresource.md) objects.

## Definition

```csharp
namespace Aspire.Hosting;

public static class ExecutableResourceExtensions
{
    // ...
}
```

## Methods

- [GetExecutableResources(DistributedApplicationModel)](/reference/api/csharp/aspire.hosting/executableresourceextensions/methods.md#getexecutableresources-distributedapplicationmodel) : [IEnumerable<ExecutableResource>](/reference/api/csharp/aspire.hosting/executableresource.md) `extension` `ats ignored` -- Returns an enumerable collection of executable resources from the specified distributed application model.
