About 2,850,000 results
Open links in new tab
  1. Understanding PathBase in ASP.NET Core - Andrew Lock

    May 31, 2022 · PathBase is a property on the HttpRequest object in ASP.NET Core, and is similar to Path. PathBase contains part of the original HTTP request's path, while Path contains the …

  2. ASP.NET Core: UsePathBase extracts pathbase from path but ...

    Dec 21, 2022 · In .NET 6, the UsePathBase middleware has been replaced with the UseRouting middleware. The UseRouting middleware is responsible for both routing and path base …

    Missing:

    • Web API

    Must include:

  3. .net8 UsePathBase fails to change the pathbase #53612 - GitHub

    Jan 25, 2024 · In attempting to upgrade my .net projects to .net 8, I've run in to a breaking issue with app.UsePathBase (). In .net 6 and .net 7, specifying app.UsePathBase ("Path"); would …

    Missing:

    • Web API

    Must include:

  4. UsePathBaseExtensions.UsePathBase(IApplicationBuilder, …

    Adds a middleware that extracts the specified path base from request path and postpend it to the request path base.

    Missing:

    • Web API

    Must include:

  5. Configure ASP.NET Core to work with proxy servers and load …

    Sep 27, 2024 · When using WebApplication (see Migrate from ASP.NET Core 5.0 to 6.0), app.UseRouting must be called after UsePathBase so that the routing middleware can …

  6. .NET Core UsePathBase () why original route still working?

    Feb 14, 2024 · The idea behing UsePathBase is a bit different, it extracts the base path from the request, as already mentioned in previous answers. It allows access via both the original and …

  7. UsePathBase being ignored · Issue #38448 · dotnet/aspnetcore

    Nov 16, 2021 · This code around UsePathBase () used to work under .NET 3.1 when we validated our plans for going to k8s. We are now trying to actually migrate under .NET 6 and …

  8. UsePathBase and Swashbuckle for Swagger Documentation

    May 7, 2025 · I have setup my ASP.NET core using the middleware UsePathBase ("/api/something/else"), and my controllers are defined like this: [ApiController] [Route ("/ …

  9. UsePathBaseExtensions Class (Microsoft.AspNetCore.Builder)

    UsePathBase (IApplicationBuilder, PathString) Adds a middleware that extracts the specified path base from request path and postpend it to the request path base.

  10. In ASP.NET Core - why is app.UsePathBase () failing?

    Aug 30, 2023 · I recently had to move an ASP.NET Core 6.0 website to a new host it now requres a PathBase to work. It worked fine int the old env without pathbase but in the new env it lives …

  11. Some results have been removed
Refresh