Skip to content

Conversation

@guardrex
Copy link
Contributor

@guardrex guardrex commented Oct 8, 2024

Addresses dotnet/AspNetCore.Docs#31909

Changes from 8.0 ...

  • TFMs to net9.0.
  • Package references (currently RC1 to be updated to GA later).
  • Remove auth state provider services and replace with calls to AddAuthenticationStateSerialization (server-side) and AddAuthenticationStateDeserialization (client-side).
  • Add a UserSecretsId to the project files of these new 9.0 sample apps but also add them to the 8.0 samples. Remove the Program file guidance on setting the client secret in code, both in the 9.0 and 8.0 samples. The article will explain how to use the Secret Manager tool for local dev and cross-link to guidance for other environments.

AFAICT, I don't need to enforce any static SSR pages (i.e., [ExcludeFromInteractiveRouting]) in these samples, but let me know if that's incorrect.

Copy link
Member

@halter73 halter73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT, I don't need to enforce any static SSR pages (i.e., [ExcludeFromInteractiveRouting]) in these samples, but let me know if that's incorrect.

I think that's correct for this sample.

Co-authored-by: Stephen Halter <halter73@gmail.com>
@guardrex guardrex merged commit c544f5e into main Oct 9, 2024
@guardrex guardrex deleted the guardrex/blazor-bwa-oidc-samps-90 branch October 9, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants