Share via


SpaOptions.DefaultPageStaticFileOptions Property

Definition

Gets or sets the StaticFileOptions that supplies content for serving the SPA's default page.

If not set, a default file provider will read files from the WebRootPath, which by default is the wwwroot directory.

public:
 property Microsoft::AspNetCore::Builder::StaticFileOptions ^ DefaultPageStaticFileOptions { Microsoft::AspNetCore::Builder::StaticFileOptions ^ get(); void set(Microsoft::AspNetCore::Builder::StaticFileOptions ^ value); };
public Microsoft.AspNetCore.Builder.StaticFileOptions DefaultPageStaticFileOptions { get; set; }
public Microsoft.AspNetCore.Builder.StaticFileOptions? DefaultPageStaticFileOptions { get; set; }
member this.DefaultPageStaticFileOptions : Microsoft.AspNetCore.Builder.StaticFileOptions with get, set
Public Property DefaultPageStaticFileOptions As StaticFileOptions

Property Value

Applies to