# 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/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/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; }
```
