aspnet / Announcements

Subscribe to this repo to be notified about major changes in ASP.NET Core and Entity Framework Core
Other
1.66k stars 80 forks source link

WebListener API updates #198

Open Tratcher opened 8 years ago

Tratcher commented 8 years ago

The WebListener APIs are being reviewed and updated. Relevant breaking changes will be posted to this thread: https://github.com/aspnet/ServerTests/issues/39.

Changes so far:

AllowAnonymous is now a separate bool property defaulting to true. It was formerly a member of the AuthenticationSchemes enum.

builder.UseWebListener(options =>
{
  options.Listener.AuthenticationManager.AuthenticationSchemes = AuthenticationSchemes.NTLM;
  options.Listener.AuthenticationManager.AllowAnonymous = false;
});

WebSockets have been re-enabled using a new managed implementation from CoreFx. Win8+ is still required due to Http.Sys API dependencies. The Microsoft.Net.WebSockets.Server package has been deleted since the support was added directly to Microsoft.Net.Http.Server.

304NotModified commented 8 years ago

Breaking changes in a non major update?