Commit Graph

19 Commits (9bac552349e83bc3374d3f90d7277c2882b7417b)

Author SHA1 Message Date
Tom Dykstra ad811e3c1b
Fix link in enforcing-ssl (#33916) 2024-10-24 17:15:06 -07:00
Tom Dykstra bcd1cf3065
Linux dev certs supports .NET 8+ (#33849) 2024-10-14 15:54:09 -07:00
Tom Dykstra 7ea657ccd5
Linux cert feature not in .NET 8 yet (#33580) 2024-09-10 12:37:40 -07:00
Tom Dykstra dc2e368492
Reinstate #33221 (#33572) 2024-09-09 12:52:25 -07:00
Tom Dykstra 5aca1d31d9
Moniker prep for .NET 9 content in enforcing-ssl.md (#33566) 2024-09-07 09:21:21 -07:00
Tom Dykstra 9b6975ef82 freshness review 2024-05-29 14:16:21 -07:00
Cédric Luthi 68849ede7e
Enforce HTTPS in ASP.NET Core: Use Status308PermanentRedirect (#31739)
* Enforce HTTPS in ASP.NET Core: Use Status308PermanentRedirect

The previous paragraph says
> Use the fields of the [StatusCodes](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.statuscodes) class for assignments to `RedirectStatusCode`.

But the sample code then uses the status code defined in `System.Net` and a cast to `int`.

* Use Status307TemporaryRedirect in other sample code (Program2.cs)
2024-02-27 11:24:17 -08:00
Luke Latham 12b932e203
Code patch (#24639) 2022-01-17 07:36:29 -06:00
Rick Anderson b1d420dd25
.NET 6 update enforce HTTPS /4 (#23773)
* .NET 6 update enforce HTTPS /4

* .NET 6 update enforce HTTPS /4
2021-11-09 13:47:11 -10:00
Michal Mrnuštík 383b0f5c3e
Replace status code with status code enum (#22116)
* Replace all hardcoded status codes with System.Net.HttpStatusCode

* Replace all StatusCodes references to HttpStatusCode

Co-authored-by: Michal Mrnuštík <michal.mrnustik@riganti.cz>
2021-04-23 10:14:47 -10:00
David Pine 1abb32ad3d Compressed .PNG image files (#15654) 2019-11-11 10:53:59 -06:00
Scott Addie 4cad485859
Add https_port setting to appsettings.json (#14188) 2019-09-06 15:51:22 -05:00
Tom Dykstra d049785258 Enforce HTTPS 3.0 update (#13844)
* 3.0 update

* fix links

* limit code to snapshot files

* update screenshot

* fix image

* change file-level moniker range

* force line breaks

* corrections

* moniker name change

* formatting

* fix link

* minor cleanup

* delete unused files

* restore mention of 2.1

* change br tag to double space

* remove extraneous file
2019-09-06 12:48:24 -05:00
David Pine 769d8c6ae7 Removed images that are not referenced anywhere. (#13804) 2019-08-17 10:20:41 -05:00
Luke Latham a5b3914bb7
Enforcing HTTPS enhancements (#9044) 2018-10-23 13:03:36 -05:00
Rick Anderson dca1e0b5e5
301 to 307 (#7057)
* 301 to 307

* Update enforcing-ssl.md

* Call out the defaults
2018-06-14 17:15:32 -07:00
Rick Anderson 7a2b517b72
Update preview to RC1 (#6375)
* remove preview

* rc
2018-05-11 14:03:53 -10:00
Rick Anderson 15eae12a78
HSTS and UseHttpsRedirection (#5902)
* WIP: HSTS and UseHttpsRedirection

* work

* work

* work

* work

* work

* work

* work

* work
2018-04-13 11:13:23 -10:00
Rick Anderson 6d3767417a move require SSL to it's own doc (#3000)
* move require SSL to it's own doc

* td feedback
2017-03-17 15:27:18 -10:00