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.
Describes options for hosting a Single Page Application (SPA).
public ref class SpaOptions
public class SpaOptions
type SpaOptions = class
Public Class SpaOptions
Constructs a new instance of SpaOptions.
Gets or sets the URL of the default page that hosts your SPA user interface.
The default value is
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
Gets or sets the path, relative to the application working directory, of the directory that contains the SPA source files during development. The directory may not exist in published applications.
Gets or sets the maximum duration that a request will wait for the SPA to become ready to serve to the client.