IRouteBuilder.DefaultHandler Property

Definition

Gets or sets the default IRouter that is used as a handler if an IRouter is added to the list of routes but does not specify its own.

C#
public Microsoft.AspNetCore.Routing.IRouter DefaultHandler { get; set; }
C#
public Microsoft.AspNetCore.Routing.IRouter? DefaultHandler { get; set; }

Property Value

Applies to

Tuote Versiot
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0