Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Builder.​UsePathBaseExtensions
Assembly: Microsoft.AspNetCore.Http.Abstractions
Inheritance: object → UsePathBaseExtensions
Extension methods for <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> .
Methods
public static
IApplicationBuilder
UsePathBase​(IApplicationBuilder app,
Http.​PathString pathBase)
Adds a middleware that extracts the specified path base from request path and postpend it to the request path base.
Returns The <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> instance.
app
The <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> instance.
pathBase
The path base to extract.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object