net9.0
namespace Microsoft.AspNetCore.Routing
{
    public static class LinkGeneratorEndpointNameAddressExtensions
    {
        [RequiresUnreferencedCode("This API may perform reflection on supplied parameters which may be trimmed if not referenced directly. Initialize a RouteValueDictionary with route values to avoid this issue.")]
        public static string? GetPathByName(this LinkGenerator! generator, HttpContext! httpContext, string! endpointName, object? values, PathString? pathBase = default, FragmentString fragment = default, LinkOptions? options = null);
    }
}
nuget.org
0.0 %
Reference this API
.NET 5.06.07.08.09.0
.NET Core 2.23.03.1
Information specific to net9.0
Assembly

Microsoft.AspNetCore.Routing , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Requires any:

  • Your project needs to use SDK Microsoft.NET.Sdk.Web.

  • Your project needs a framework reference to Microsoft.AspNetCore.App.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

10/31/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙