Table of Contents

Class PagesOptions

Namespace
Sitecore.AspNetCore.SDK.Pages.Configuration
Assembly
Sitecore.AspNetCore.SDK.Pages.dll

The options to configure the Pages middleware.

public class PagesOptions
Inheritance
PagesOptions
Inherited Members

Fields

Key

Key used to define the settings section in config.

public static readonly string Key

Field Value

string

Properties

ConfigEndpoint

Gets or sets the config endpoint for Pages MetaData mode.

public string ConfigEndpoint { get; set; }

Property Value

string

DictionaryPageSize

Gets or sets the number of entries per page in a dictionary. The default value is set to 1000.

public int DictionaryPageSize { get; set; }

Property Value

int

EditingSecret

Gets or sets the Editing Secret.

public string EditingSecret { get; set; }

Property Value

string

RenderEndpoint

Gets or sets the render endpoint for Pages MetaData mode.

public string RenderEndpoint { get; set; }

Property Value

string

ValidEditingOrigin

Gets or sets the valid editing origin for all editing requests.

public string ValidEditingOrigin { get; set; }

Property Value

string

ValidHeaders

Gets or sets the valid headers.

public string ValidHeaders { get; set; }

Property Value

string

ValidMethods

Gets or sets the valid HTTP methods.

public string ValidMethods { get; set; }

Property Value

string

ValidOrigins

Gets or sets the valid origins for the head to run under.

public string ValidOrigins { get; set; }

Property Value

string