Posts

Showing posts from August, 2020

SameSite Cookies

 https://devblogs.microsoft.com/aspnet/upcoming-samesite-cookie-changes-in-asp-net-and-asp-net-core/ https://www.thinktecture.com/en/identity/samesite/prepare-your-identityserver/ https://brockallen.com/2019/01/11/same-site-cookies-asp-net-core-and-external-authentication-providers/ For debugging purpose Go to chrome://flags and disable #same-site-by-default-cookies. If needed, also disable #cookies-without-same-site-must-be-secure . Restart Chrome for the changes to take effect. https://support.google.com/chrome/thread/34237768?hl=en

Visual Studio 2019: https://localhost:xxxx does't work on IIS Express

VS 2019 version 16.4, Net Core 3.1 SDK https://stackoverflow.com/questions/58175973/visual-studio-2019-this-site-can-t-provide-a-secure-connection-on-localhost/58209538#58209538 Try 1: dotnet dev-certs https --clean dotnet dev-certs https --trust didn't work Try 2: Repairing Visual Studio 2019: didn't work! Solution: Uninstall IIS 10.0 Express and then reinstall it!