MobileAppConfiguration.AddBaseRouteExclusion(String) Method

Definition

Adds a controller name to be excluded from the default route of 'api/{controller}/{id}'.

public void AddBaseRouteExclusion (string exclusion);
member this.AddBaseRouteExclusion : string -> unit
Public Sub AddBaseRouteExclusion (exclusion As String)

Parameters

exclusion
String

The controller name to exclude from the route. Do not include 'Controller' at the end of the string.

Applies to