SpaOptions.DefaultPageStaticFileOptions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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