---
title: "Class SitecoreLayoutClientOptions"
slug: "sitecore.layoutservice.client.sitecorelayoutclientoptions"
abstract: ""
---
# Class SitecoreLayoutClientOptions

Options to control the Sitecore [DefaultLayoutClient](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.defaultlayoutclient.html).

## Inheritance

System.Object

SitecoreLayoutClientOptions

### **Namespace**: Sitecore.LayoutService.Client

#### **Assembly**: Sitecore.LayoutService.Client.dll

##### Syntax

```csharp
public class SitecoreLayoutClientOptions : Object

```

### Constructors

#### SitecoreLayoutClientOptions()

##### Declaration

```csharp
public SitecoreLayoutClientOptions()

```

### Properties

#### DefaultHandler

Gets or sets the default handler name for requests.

##### Declaration

```csharp
public string DefaultHandler { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.String |  |

#### HandlerRegistry

Gets or sets the registry of Sitecore layout service request handlers.

##### Declaration

```csharp
public Dictionary<string, Func<IServiceProvider, ILayoutRequestHandler>> HandlerRegistry { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Collections.Generic.Dictionary<br><br><<br><br>System.String<br><br>,<br><br>System.Func<br><br><<br><br>System.IServiceProvider<br><br>,<br><br>ILayoutRequestHandler<br><br>>> |  |
