# ResourceUrlsEditor

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Provides an ATS-first editor for resource URLs within polyglot callbacks.

## Definition

```go
type ResourceUrlsEditor interface{}
```

## Properties

- `ExecutionContext`: [`DistributedApplicationExecutionContext`](/reference/api/go/aspire.hosting/distributedapplicationexecutioncontext.md) `get` -- Gets the execution context associated with this editor.

## Methods

- [Add](/reference/api/go/aspire.hosting/resourceurlseditor/add.md) -- `method` -- Adds a displayed URL.
  ```go
  Add(url any, options ...*AddOptions) error
  ```
- [AddForEndpoint](/reference/api/go/aspire.hosting/resourceurlseditor/addforendpoint.md) -- `method` -- Adds a displayed URL for a specific endpoint.
  ```go
  AddForEndpoint(endpoint EndpointReference, url any, options ...*AddForEndpointOptions) error
  ```
