From 3ec279505b92f1d86b119d7f2be0bbb00408776a Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Tue, 22 Sep 2026 14:55:41 -0700 Subject: [PATCH 1/4] Update dotnet-new-list.md with warning Added warnings about template listing and directory trust. --- docs/core/tools/dotnet-new-list.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/core/tools/dotnet-new-list.md b/docs/core/tools/dotnet-new-list.md index 2c80246e968ed..202fb947ed1f9 100644 --- a/docs/core/tools/dotnet-new-list.md +++ b/docs/core/tools/dotnet-new-list.md @@ -26,6 +26,9 @@ The `dotnet new list` command lists available templates to use with `dotnet new` Starting with .NET SDK 7.0.100, the `list` command might not show all the templates installed on the machine. It takes the result of template constraints into account, and the templates that can't be used won't be shown. To force show all the templates, use the `--ignore-constraints` option. +> [!WARNING] +> In order to limit the list of templates to those that are relevant, we walk up the current tree to find a .NET project to scope the list of templates. Ensure you only run dotnet new commands from trusted directories. + > [!NOTE] > [!INCLUDE [new syntax](includes/dotnet-new-7-0-syntax.md)] > From 15a0a4e0ca158900fb9aac3bb65f312262fb5c97 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Tue, 22 Sep 2026 18:37:17 -0700 Subject: [PATCH 2/4] Update migration guide metadata Removed outdated author information and updated the date. --- .../networking/http/httpclient-migrate-from-httpwebrequest.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md b/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md index 26ab3600e0398..7e6ce2b4e62cd 100644 --- a/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md +++ b/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md @@ -2,7 +2,6 @@ title: Migrate from HttpWebRequest description: Learn how to migrate from HttpWebRequest to HttpClient. author: liveans -ms.author: aaksoy ms.date: 07/25/2024 helpviewer_keywords: - "protocols, HTTP" From d7617721562f157b373a4c0a2ca089689f57eab0 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Tue, 22 Sep 2026 18:39:44 -0700 Subject: [PATCH 3/4] Revert "Update migration guide metadata" This reverts commit 15a0a4e0ca158900fb9aac3bb65f312262fb5c97. --- .../networking/http/httpclient-migrate-from-httpwebrequest.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md b/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md index 7e6ce2b4e62cd..26ab3600e0398 100644 --- a/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md +++ b/docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md @@ -2,6 +2,7 @@ title: Migrate from HttpWebRequest description: Learn how to migrate from HttpWebRequest to HttpClient. author: liveans +ms.author: aaksoy ms.date: 07/25/2024 helpviewer_keywords: - "protocols, HTTP" From c607285ef3a1633c1f74002b632380c299f0be58 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Thu, 24 Sep 2026 11:39:23 -0700 Subject: [PATCH 4/4] Update docs/core/tools/dotnet-new-list.md Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --- docs/core/tools/dotnet-new-list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-new-list.md b/docs/core/tools/dotnet-new-list.md index 202fb947ed1f9..93baef7e79690 100644 --- a/docs/core/tools/dotnet-new-list.md +++ b/docs/core/tools/dotnet-new-list.md @@ -27,7 +27,7 @@ The `dotnet new list` command lists available templates to use with `dotnet new` Starting with .NET SDK 7.0.100, the `list` command might not show all the templates installed on the machine. It takes the result of template constraints into account, and the templates that can't be used won't be shown. To force show all the templates, use the `--ignore-constraints` option. > [!WARNING] -> In order to limit the list of templates to those that are relevant, we walk up the current tree to find a .NET project to scope the list of templates. Ensure you only run dotnet new commands from trusted directories. +> To limit the list of templates to those that are relevant, .NET walks up the current tree to find a .NET project to scope the list of templates. Ensure you only run `dotnet new` commands from trusted directories. > [!NOTE] > [!INCLUDE [new syntax](includes/dotnet-new-7-0-syntax.md)]