# ProjectResourceOptions Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ProjectResourceOptions](/reference/api/csharp/aspire.hosting/projectresourceoptions.md)
- Kind: `Properties`
- Members: `3`

Various properties to modify the behavior of the project resource.

## ExcludeKestrelEndpoints

- Name: `ExcludeKestrelEndpoints`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ProjectResourceOptions.cs)

If set, ignore endpoints coming from Kestrel configuration.

```csharp
public bool ExcludeKestrelEndpoints { get; set; }
```

## ExcludeLaunchProfile

- Name: `ExcludeLaunchProfile`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ProjectResourceOptions.cs)

If set, no launch profile will be used, and LaunchProfileName will be ignored.

```csharp
public bool ExcludeLaunchProfile { get; set; }
```

## LaunchProfileName

- Name: `LaunchProfileName`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ProjectResourceOptions.cs)

The launch profile to use. If `null` then the default launch profile will be used.

```csharp
public string? LaunchProfileName { get; set; }
```
