Megosztás a következőn keresztül:


MvcOptions.SslPort Property

Definition

Gets or sets the SSL port that is used by this application when RequireHttpsAttribute is used. If not set the port won't be specified in the secured URL e.g. https://localhost/path.

public:
 property Nullable<int> SslPort { Nullable<int> get(); void set(Nullable<int> value); };
public int? SslPort { get; set; }
member this.SslPort : Nullable<int> with get, set
Public Property SslPort As Nullable(Of Integer)

Property Value

Applies to