Windows Authentication works on IIS but not Kestrel / Microsoft.AspNetCore.Authentication.Negotiate (not in Chrome, sometimes in Edge, always in IE)?
问题 I created a new Blazor (Server-side) application with Windows Authentication and run it using IIS Express. It will display a message of "Hello Domain\User!" from the following razor component ( ...\BlazorApp1\BlazorApp1\Shared\LoginDisplay.razor ) on top right. <AuthorizeView> Hello, @context.User.Identity.Name! </AuthorizeView> If running using Kestrel, the message is not shown. So I tried the following steps to make it work in Kestrel. Import NuGet package Microsoft.AspNetCore