Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
:::moniker range="< aspnetcore-9.0"
:::moniker range="< aspnetcore-10.0"
> [!NOTE]
> This isn't the latest version of this article. For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true).
> This isn't the latest version of this article. For the current release, see the [.NET 10 version of this article](?view=aspnetcore-10.0&preserve-view=true).
:::moniker-end

:::moniker range="> aspnetcore-9.0"
<!-- Exclude until .NET 11 preview is added to the version selector collection
:::moniker range="> aspnetcore-10.0"
> [!IMPORTANT]
> This information relates to a pre-release product that may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
>
> For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true).
> For the current release, see the [.NET 10 version of this article](?view=aspnetcore-10.0&preserve-view=true).
:::moniker-end
-->

<!--
Include either this file or 'not-latest-version.md' at the top of articles.
'not-latest-version.md': Includes not-supported content.
'not-latest-version-without-not-supported-content.md' (this file): Doesn't include not-supported content.
Use this file in articles that target >=8.0 until 9.0 reaches EOL, and then update those
Use this file in articles that target >=8.0 until 10.0 reaches EOL, and then update those
articles to use 'not-latest-version.md'. For articles that target >=7.0, 'not-latest-version.md'
can be used without creating a zone/file moniker range mismatch error.
When a new version is released, it might be necessary to temporarily comment out the current version
moniker range section until the new moniker is created.
Markdown to include this file:
+
[!INCLUDE[](~/includes/not-latest-version-without-not-supported-content.md)]
-->
12 changes: 7 additions & 5 deletions aspnetcore/includes/not-latest-version.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
:::moniker range="< aspnetcore-9.0"
:::moniker range="< aspnetcore-10.0"
> [!NOTE]
> This isn't the latest version of this article. For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true).
> This isn't the latest version of this article. For the current release, see the [.NET 10 version of this article](?view=aspnetcore-10.0&preserve-view=true).
:::moniker-end

:::moniker range="= aspnetcore-7.0 || = aspnetcore-5.0 || = aspnetcore-3.0 || = aspnetcore-3.1 || = aspnetcore-2.0"
[!INCLUDE[](~/includes/out-of-support.md)]
:::moniker-end

:::moniker range="> aspnetcore-9.0"
<!-- Exclude until .NET 11 preview is added to the version selector collection
:::moniker range="> aspnetcore-10.0"
> [!IMPORTANT]
> This information relates to a pre-release product that may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
>
> For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true).
> For the current release, see the [.NET 10 version of this article](?view=aspnetcore-10.0&preserve-view=true).
:::moniker-end
-->

<!--
Include either this file or 'not-latest-version-without-not-supported-content.md' at the top
Expand All @@ -21,7 +23,7 @@ of articles.
'not-latest-version.md' (this file): Includes not-supported content.
'not-latest-version-without-not-supported-content.md': Doesn't include not-supported content.

Use this file in articles that target >=7.0. For articles that target >=8.0 prior to 9.0
Use this file in articles that target >=7.0. For articles that target >=8.0 prior to 10.0
reaching EOL, 'not-latest-version-without-not-supported-content.md' must be used to avoid
a zone/file moniker range mismatch error.

Expand Down