Skip to content
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

Blazor project tracking 2024 #31423

Open
guardrex opened this issue Jan 11, 2024 · 0 comments
Open

Blazor project tracking 2024 #31423

guardrex opened this issue Jan 11, 2024 · 0 comments
Assignees
Labels
Blazor doc-enhancement Pri1 High priority, do before Pri2 and Pri3

Comments

@guardrex
Copy link
Collaborator

guardrex commented Jan 11, 2024

2024

History

Doc ideas

Not ALL of these will be worked. This is an idea list/check list that don't rise to the level of opening an issue at this time.

Resolved

HOLD Key Vault code for BWA+OIDC and BWA+MS Identity Web articles ...

private string GetSecretFromKeyVault(string tenantId, string secretName)
{
    // this should point to your vault's URI, like https://<yourkeyvault>.vault.azure.net/
    string uri = Environment.GetEnvironmentVariable("KEY_VAULT_URI");
    DefaultAzureCredentialOptions options = new DefaultAzureCredentialOptions();

    // Specify the tenant ID to use the dev credentials when running the app locally
    options.VisualStudioTenantId = tenantId;
    options.SharedTokenCacheTenantId = tenantId;
    SecretClient client = new SecretClient(new Uri(uri), new DefaultAzureCredential(options));

    // The secret name, for example if the full url to the secret is https://<yourkeyvault>.vault.azure.net/secrets/ENTER_YOUR_SECRET_NAME_HERE
    Response<KeyVaultSecret> secret = client.GetSecretAsync(secretName).Result;

    return secret.Value.Value;
}

// uncomment the following 3 lines to get ClientSecret from KeyVault
//string tenantId = Configuration.GetValue<string>("AzureAd:TenantId");
//services.Configure<MicrosoftIdentityOptions>(
//   options => { options.ClientSecret = GetSecretFromKeyVault(tenantId, "ENTER_YOUR_SECRET_NAME_HERE"); });

Cross-ref: https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/2-WebApp-graph-user/2-1-Call-MSGraph/Startup.cs

PU review items

Steve:

Halter:

Mackinnon:

UE pass tracking

UE pass tracking

Articles that could benefit from the 🦖 Rex Treatment™ 🦖 ...

  • Security node for 8.0/BWA/Identity components
  • Blazor Server and EF Core
  • Call web API topic: I'd like to divorce this from the main doc set's web API article in favor of a small Minimal APIs-based web API app for the experiences in the topic. I think churn on the main doc set article may have broken the cut-'n-paste, fully working examples that I have. I either need to update the examples to match the latest guidance in the web API article or place a dedicated app example in this topic, and I favor the latter because of on-going web API article churn ... this is a fragile 💥 setup because I don't maintain both articles.
  • File Uploads article
  • File Downloads article
  • Test article
  • PWA article
  • Performance best practices article
  • State Management article
  • Virtualization article: Blazor Virtualize Docs Are Confusing #27537
  • Blazor Hybrid
    • Overview
    • Tutorials
      • Overview
      • .NET MAUI
      • Windows Forms
      • WPF
    • Routing and navigation
    • Static files
    • Dev Tools
    • Reuse components

New for 8.0 ...

  • ASP.NET Core Razor class libraries (RCLs) with static server-side rendering (static SSR)
  • Integrate ASP.NET Core Razor components into ASP.NET Core apps
  • Prerender ASP.NET Core Razor components
  • Render Razor components outside of ASP.NET Core
  • ASP.NET Core Blazor render modes
  • ASP.NET Core Blazor sections
  • Troubleshoot ASP.NET Core Blazor Hybrid
  • ASP.NET Core Blazor JavaScript with static server-side rendering (static SSR)
  • Threat mitigation guidance for ASP.NET Core Blazor static server-side rendering
  • Secure ASP.NET Core Blazor WebAssembly with ASP.NET Core Identity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blazor doc-enhancement Pri1 High priority, do before Pri2 and Pri3
Projects
Status: In progress
Development

No branches or pull requests

2 participants