# UrlSnapshot Constructors

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [UrlSnapshot](/reference/api/csharp/aspire.hosting/urlsnapshot.md)
- Kind: `Constructors`
- Members: `1`

A snapshot of the URL.

## UrlSnapshot(string?, string, bool)

- Name: `Constructor(string?, string, bool)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CustomResourceSnapshot.cs#L202-L207)

A snapshot of the URL.

```csharp
public record UrlSnapshot
{
    public UrlSnapshot(
        string? Name,
        string Url,
        bool IsInternal)
    {
        // ...
    }
}
```

## Parameters

- `Name` (`string?`)
  Name of the endpoint associated with the URL.
- `Url` (`string`)
  The full URL.
- `IsInternal` (`bool`)
  Determines if this URL is internal. Internal URLs are only shown in the details grid for a resource.
