Using PathBase with .NET 6's WebApplicationBuilder

added by DotNetKicks
6/7/2022 10:29:21 AM

189 Views

In this post I describe the difficulties of adding calls to UsePathBase with .NET 6 WebApplication programs, and describe two approaches to work around it. In my previous post I described how PathBase works with Path to keep track of the "original" HTTP request path, removing "prefixes" from the path which are sometimes necessary for proxies etc.


0 comments