ApiController.Url Property
Definition
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 a factory used to generate URLs to other APIs.
public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; set; }
member this.Url : Microsoft.AspNetCore.Mvc.IUrlHelper with get, set
Public Property Url As IUrlHelper
Property Value
A System.Web.Http.Routing.UrlHelper, which is used to generate URLs to other APIs.
Remarks
The setter is intended for unit testing purposes only.