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
Properties
ConfigEndpoint
Gets or sets the config endpoint for Pages MetaData mode.
public string ConfigEndpoint { get; set; }
Property Value
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
EditingSecret
Gets or sets the Editing Secret.
public string EditingSecret { get; set; }
Property Value
RenderEndpoint
Gets or sets the render endpoint for Pages MetaData mode.
public string RenderEndpoint { get; set; }
Property Value
ValidEditingOrigin
Gets or sets the valid editing origin for all editing requests.
public string ValidEditingOrigin { get; set; }
Property Value
ValidHeaders
Gets or sets the valid headers.
public string ValidHeaders { get; set; }
Property Value
ValidMethods
Gets or sets the valid HTTP methods.
public string ValidMethods { get; set; }
Property Value
ValidOrigins
Gets or sets the valid origins for the head to run under.
public string ValidOrigins { get; set; }