# ResourceUrlsCallbackAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ResourceUrlsCallbackAnnotation](/reference/api/csharp/aspire.hosting/resourceurlscallbackannotation.md)
- Kind: `Properties`
- Members: `1`

Represents an annotation that provides a callback to modify URLs that should be displayed for the resource.

## Callback

- Name: `Callback`
- Modifiers: `get`
- Returns: `Func<ResourceUrlsCallbackContext, Task>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/ApplicationModel/ResourceUrlsCallbackAnnotation.cs)

Gets or sets the callback action to be executed when the URLs are being processed.

```csharp
public Func<ResourceUrlsCallbackContext, Task> Callback { get; }
```
