Tratcher MvcOptions SslPort

pull/2090/head
01binary 2016-11-11 07:33:37 -08:00
parent 4acc28cedd
commit fb6b88ab30
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ Some external authentication providers will reject requests coming from origins
````csharp
services.AddMvc(options =>
{
options.SslPort = 44321;
options.Filters.Add(new RequireHttpsAttribute ());
});
````