# ResourceReadyEvent Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ResourceReadyEvent](/reference/api/csharp/aspire.hosting/resourcereadyevent.md)
- Kind: `Properties`
- Members: `2`

Event that is raised when a resource initially transitions to a ready state.

## Resource

- Name: `Resource`
- Modifiers: `get`
- Returns: [IResource](/reference/api/csharp/aspire.hosting/iresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ResourceReadyEvent.cs#L22)

The resource that is in a healthy state.

```csharp
public IResource Resource { get; }
```

## Services

- Name: `Services`
- Modifiers: `get`
- Returns: `IServiceProvider`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ResourceReadyEvent.cs#L25)

The `IServiceProvider` instance.

```csharp
public IServiceProvider Services { get; }
```
