HttpRequest.PathBase Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the base path for the request. The path base should not end with a trailing slash.
public:
abstract property Microsoft::AspNetCore::Http::PathString PathBase { Microsoft::AspNetCore::Http::PathString get(); void set(Microsoft::AspNetCore::Http::PathString value); };
C#
public abstract Microsoft.AspNetCore.Http.PathString PathBase { get; set; }
member this.PathBase : Microsoft.AspNetCore.Http.PathString with get, set
Public MustOverride Property PathBase As PathString
The base path for the request.
Product | Versions |
---|---|
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 |