Share via


SpaRouteExtensions Class

Definition

Caution

Use Microsoft.AspNetCore.SpaServices.Extensions

Extension methods useful for configuring routing in a single-page application (SPA).

public ref class SpaRouteExtensions abstract sealed
public static class SpaRouteExtensions
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static class SpaRouteExtensions
type SpaRouteExtensions = class
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type SpaRouteExtensions = class
Public Module SpaRouteExtensions
Inheritance
SpaRouteExtensions
Attributes

Methods

MapSpaFallbackRoute(IRouteBuilder, String, Object, Object, Object)

Configures a route that is automatically bypassed if the requested URL appears to be for a static file (e.g., if it has a filename extension).

MapSpaFallbackRoute(IRouteBuilder, String, String, Object, Object, Object)

Configures a route that is automatically bypassed if the requested URL appears to be for a static file (e.g., if it has a filename extension).

Applies to