Skip to content

Add note on the .NET CLI default launch profile#37205

Merged
guardrex merged 3 commits into
mainfrom
guardrex/launch-profile-default-note
May 29, 2026
Merged

Add note on the .NET CLI default launch profile#37205
guardrex merged 3 commits into
mainfrom
guardrex/launch-profile-default-note

Conversation

@guardrex
Copy link
Copy Markdown
Collaborator

@guardrex guardrex commented May 29, 2026

Fixes #37204

Thanks @cremor! 🚀

Tom, Wade ... Just need one review to get this in.

I place a NOTE in an INCLUDES file for this one because I'd like to use it in several Blazor node articles. For the main doc set's Environments article, I update the ms.date.

If you feel that we should place this as normal text, I'll strip the NOTE designation, leaving this content as a paragraph in the INCLUDES file. It could go either way. NOTEs do break up the flow of the text. I'm on the fence about it. 😄

BTW ... I disagreed with Copilot's recommendation on the structure of the last sentence of the INCLUDES file. It prefers two assumed "you" imperative tense subjects ("[you] pass ... , or [you] move ..."), but I prefer one subject. So, I went with the sentence structure "[you] pass ... or move ..." without a comma.


Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/debug.md aspnetcore/blazor/debug
aspnetcore/blazor/fundamentals/environments.md aspnetcore/blazor/fundamentals/environments
aspnetcore/blazor/host-and-deploy/app-base-path.md aspnetcore/blazor/host-and-deploy/app-base-path
aspnetcore/blazor/host-and-deploy/webassembly/index.md aspnetcore/blazor/host-and-deploy/webassembly/index
aspnetcore/blazor/project-structure.md aspnetcore/blazor/project-structure
aspnetcore/blazor/tooling.md aspnetcore/blazor/tooling
aspnetcore/blazor/tutorials/movie-database-app/part-1.md aspnetcore/blazor/tutorials/movie-database-app/part-1
aspnetcore/fundamentals/environments.md aspnetcore/fundamentals/environments

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR documents which launchSettings.json launch profile the .NET CLI uses by default (when dotnet run/dotnet watch is executed without specifying a launch profile), and reuses the guidance across multiple ASP.NET Core and Blazor articles via a shared include.

Changes:

  • Adds a reusable include explaining the default .NET CLI launch profile behavior and how to select a different profile.
  • Updates the main ASP.NET Core Environments article to reference the new include and refreshes ms.date.
  • Replaces/augments existing Blazor guidance with the shared include across several articles.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
aspnetcore/includes/default-launch-profile-for-dotnet-cli.md New reusable include explaining default .NET CLI launch profile selection.
aspnetcore/fundamentals/environments.md Updates CLI guidance and ms.date; includes the new launch profile note.
aspnetcore/blazor/tutorials/movie-database-app/part-1.md Adds the shared include after CLI run instructions.
aspnetcore/blazor/tooling.md Replaces inline text with the shared include in the CLI pivot.
aspnetcore/blazor/project-structure.md Replaces repeated NOTE blocks with the shared include in multiple template structure sections.
aspnetcore/blazor/host-and-deploy/webassembly/index.md Adds the shared include near launchSettings.json guidance.
aspnetcore/blazor/host-and-deploy/app-base-path.md Adds the shared include in the launchSettings.json section.
aspnetcore/blazor/fundamentals/environments.md Adds the shared include in two places related to environment configuration.
aspnetcore/blazor/debug.md Adds the shared include near local debugging guidance.

Comment thread aspnetcore/includes/default-launch-profile-for-dotnet-cli.md Outdated
guardrex and others added 2 commits May 29, 2026 08:46
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@guardrex guardrex requested review from tdykstra and wadepickett May 29, 2026 12:52
@guardrex guardrex self-assigned this May 29, 2026
Copy link
Copy Markdown
Contributor

@wadepickett wadepickett left a comment

Choose a reason for hiding this comment

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

Well done! I can't find any issues. Great work. Approved.

@guardrex guardrex merged commit 11ce3e3 into main May 29, 2026
4 checks passed
@guardrex guardrex deleted the guardrex/launch-profile-default-note branch May 29, 2026 18:06
@guardrex guardrex removed the request for review from tdykstra May 29, 2026 18:06
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 which launch profile is used by default

3 participants