This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
public static void AddSpaStaticFiles (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.SpaServices.StaticFiles.SpaStaticFilesOptions> configuration = default);
public static void AddSpaStaticFiles (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.SpaServices.StaticFiles.SpaStaticFilesOptions>? configuration = default);
static member AddSpaStaticFiles : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.SpaServices.StaticFiles.SpaStaticFilesOptions> -> unit
<Extension()>
Public Sub AddSpaStaticFiles (services As IServiceCollection, Optional configuration As Action(Of SpaStaticFilesOptions) = Nothing)

Parameters