ISpaStaticFileProvider Interface

Definition

Represents a service that can provide static files to be served for a Single Page Application (SPA).

C#
public interface ISpaStaticFileProvider

Properties

FileProvider

Gets the file provider, if available, that supplies the static files for the SPA. The value is null if no file provider is available.

Applies to

Product Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0