SpaRouteExtensions.MapSpaFallbackRoute SpaRouteExtensions.MapSpaFallbackRoute SpaRouteExtensions.MapSpaFallbackRoute Method

Definition

Overloads

MapSpaFallbackRoute(IRouteBuilder, String, Object, Object, Object) MapSpaFallbackRoute(IRouteBuilder, String, Object, Object, Object) 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) MapSpaFallbackRoute(IRouteBuilder, String, String, Object, Object, Object) 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).

MapSpaFallbackRoute(IRouteBuilder, String, Object, Object, Object) MapSpaFallbackRoute(IRouteBuilder, String, Object, Object, Object) 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).

public static void MapSpaFallbackRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, object defaults, object constraints = null, object dataTokens = null);
static member MapSpaFallbackRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * obj * obj * obj -> unit
<Extension()>
Public Sub MapSpaFallbackRoute (routeBuilder As IRouteBuilder, name As String, defaults As Object, Optional constraints As Object = null, Optional dataTokens As Object = null)

Parameters

name
String String String

The route name.

defaults
Object Object Object

Default route parameters.

constraints
Object Object Object

Route constraints.

dataTokens
Object Object Object

Route data tokens.

MapSpaFallbackRoute(IRouteBuilder, String, String, Object, Object, Object) MapSpaFallbackRoute(IRouteBuilder, String, String, Object, Object, Object) 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).

public static void MapSpaFallbackRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string templatePrefix, object defaults, object constraints = null, object dataTokens = null);
static member MapSpaFallbackRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * obj * obj * obj -> unit
<Extension()>
Public Sub MapSpaFallbackRoute (routeBuilder As IRouteBuilder, name As String, templatePrefix As String, defaults As Object, Optional constraints As Object = null, Optional dataTokens As Object = null)

Parameters

name
String String String

The route name.

templatePrefix
String String String

The template prefix.

defaults
Object Object Object

Default route parameters.

constraints
Object Object Object

Route constraints.

dataTokens
Object Object Object

Route data tokens.

Applies to