共用方式為


IServerAddressesFeature.PreferHostingUrls 屬性

定義

true 偏好由主機設定的 URL,而不是伺服器。

public:
 property bool PreferHostingUrls { bool get(); void set(bool value); };
public bool PreferHostingUrls { get; set; }
member this.PreferHostingUrls : bool with get, set
Public Property PreferHostingUrls As Boolean

屬性值

適用於