-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document what's new in ASP.NET Core for .NET 9 Preview 2 #31770
Comments
@javiercn can you please add a comment here about content that should go with the |
@javiercn and another one for the Blazorpack compression please. |
Constructor injection: It is now possible to inject dependencies via the constructor of a component instead of using Blazor Web Server Components compression: Compression is now enabled by default for interactive server components. This comes with a restriction to framing the app within the same origin by default, which is achieved by a content-security policy. The compression settings as well as the framing behavior can be adjusted by passing a callback to |
I've also added primary ctors. I've placed the guidance now (today, 3/1), and I note in the section headings "(Preview 2, mid-March)". I'll adjust that when Pre2 lands. I see that multithreading has been pushing to Pre3. Let me know if there's anything else outside of compression and ctors. 👂 https://learn.microsoft.com/aspnet/core/release-notes/aspnetcore-9.0 |
@guardrex Change of plan 😢: We've hit some blocking issues in Blazor when multithreading is enabled that we still need to work through, so we're going to delay previewing the multithreading support until we have things sorted out. |
Thanks, I'll make a note of that and see about placing it (commented out) sometime next week. |
OIDC and OAuth Parameter CustomizationThe OAuth and OIDC authentication handlers now have a new builder.Services.AddAuthentication().AddOpenIdConnect(options =>
{
options.Events.OnRedirectToIdentityProvider = context =>
{
context.ProtocolMessage.SetParameter("prompt", "login");
context.ProtocolMessage.SetParameter("audience", "https://api.example.com");
return Task.CompletedTask;
};
}); Now becomes: builder.Services.AddAuthentication().AddOpenIdConnect(options =>
{
options.AdditionalAuthorizationParameters.Add("prompt", "login");
options.AdditionalAuthorizationParameters.Add("audience", "https://api.example.com");
}); Thank you @joegoldman2 for this contribution! |
Configure HTTP.sys extended authentication flagsYou can now configure the webBuilder.UseHttpSys(options =>
{
options.Authentication.Schemes = AuthenticationSchemes.Negotiate;
options.Authentication.EnableKerberosCredentialCaching = true;
options.Authentication.CaptureCredentials = true;
}); Thank you @evgenykotkov for this contribution! |
Update the "What's new in ASP.NET Core 9.0" for .NET 9 Preview 2
@adityamandaleeka @mkArtakMSFT Please have folks comment on this issue with the desired content.
FYI: @samsp-msft @JeremyLikness @mikekistler @claudiaregio @JamesNK @SteveSandersonMS @davidfowl
Associated WorkItem - 212924
The text was updated successfully, but these errors were encountered: