Skip to content

Document Individual-auth custom-hive template validation - #68981

Merged
javiercn merged 2 commits into
mainfrom
copilot/document-custom-hive-individual-auth-template-vali
Sep 2, 2026
Merged

javiercn merged 2 commits into
mainfrom
copilot/document-custom-hive-individual-auth-template-vali

Conversation

Copilot AI commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Document Individual-auth custom-hive template validation

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Document isolated Individual-auth template validation

Description

The ProjectTemplates guidance lacked commands for validating Individual-auth templates and isolating locally built templates from SDK-bundled templates.

  • Local runners

    • Documents Individual-auth invocation for Blazor Web, Razor Pages, MVC, and standalone Blazor WebAssembly.
    • Clarifies Blazor output paths and the registration/login application probe.
  • Custom hive

    • Adds package discovery with an exact-count guard.
    • Shows isolated installation and generation:
dotnet new install $packages[0].FullName --debug:custom-hive $hive
dotnet new blazor --auth Individual --interactivity Auto --no-restore `
    --output $output `
    --debug:disable-sdk-templates `
    --debug:custom-hive $hive
  • Validation boundary
    • Distinguishes installation/generation checks from full restore, build, publish, and runtime validation through the local runners.

Copilot AI linked an issue Sep 2, 2026 that may be closed by this pull request
1 task done
Copilot AI changed the title [WIP] Document custom-hive Individual-auth template validation Document Individual-auth custom-hive template validation Sep 2, 2026
Copilot AI requested a review from javiercn September 2, 2026 11:10
@javiercn
javiercn marked this pull request as ready for review September 2, 2026 12:32
Copilot AI lite review requested due to automatic review settings September 2, 2026 12:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is documentation-only and the added commands/paths align with existing local runner scripts and template-engine usage in the ProjectTemplates area.

Pull request overview

Updates the ProjectTemplates contributor guidance to cover validating Individual authentication template variants and to show how to isolate locally built templates from SDK-bundled templates using a custom template hive. This fits into the ProjectTemplates workflow documentation by making the “instantiate/publish/run” guidance actionable for Individual-auth scenarios and for template-package validation without mutating the default hive.

Changes:

  • Add a new README section documenting how to generate and validate Individual-auth templates using the existing Run-*-Locally.ps1 runners.
  • Document a custom-hive flow that installs a locally built templates package into an isolated hive and generates projects with --debug:disable-sdk-templates and --debug:custom-hive.
  • Update the Blazor row in the “Instantiate, publish, and run a template” table to clarify output paths for Server vs Auto/WebAssembly interactivity.
File summaries
File Description
src/ProjectTemplates/README.md Adds Individual-auth + custom-hive validation guidance and clarifies Blazor output paths in the runner table.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@javiercn
javiercn requested a review from wtgodbe September 2, 2026 12:45
@javiercn
javiercn merged commit ff7faa9 into main Sep 2, 2026
14 of 15 checks passed
@javiercn
javiercn deleted the copilot/document-custom-hive-individual-auth-template-vali branch September 2, 2026 17:36
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 3, 2026
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.

Document custom-hive Individual-auth template validation

4 participants