Gets a list of default documents. Override if you need to change which documents are actually tried.

Namespace:  EPiServer
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
protected virtual string[] GetDefaultDocuments(
	Uri url
)

Parameters

url
Type: System..::.Uri
The URL of the request that is determined to need a default document

Return Value

null or a list of default documents to try

Remarks

Set HttpContext.Current.Items[ENABLE_DEFAULT_DOCUMENTS] = false; to disable default default document handling.

See Also