1 implementation of ISpaStaticFileProvider
Microsoft.AspNetCore.SpaServices.Extensions (1)
StaticFiles\DefaultSpaStaticFileProvider.cs (1)
14
internal sealed class DefaultSpaStaticFileProvider :
ISpaStaticFileProvider
8 references to ISpaStaticFileProvider
Microsoft.AspNetCore.SpaServices.Extensions (8)
StaticFiles\DefaultSpaStaticFileProvider.cs (1)
11
/// Provides an implementation of <see cref="
ISpaStaticFileProvider
"/> that supplies
StaticFiles\SpaStaticFilesExtensions.cs (7)
18
/// Registers an <see cref="
ISpaStaticFileProvider
"/> service that can provide static
27
services.AddSingleton<
ISpaStaticFileProvider
>(serviceProvider =>
48
/// The files will be located using the registered <see cref="
ISpaStaticFileProvider
"/> service.
58
/// The files will be located using the registered <see cref="
ISpaStaticFileProvider
"/> service.
110
var
spaStaticFilesService = app.ApplicationServices.GetService<
ISpaStaticFileProvider
>();
124
$"first register an {nameof(
ISpaStaticFileProvider
)} in the service provider, typically " +