Skip to content

Commit 0656adf

Browse files
AOT out of preview /2 (#35406)
* AOT out of preview /2 * AOT out of preview /2 * AOT out of preview /2 * AOT out of preview /2 * react to feedback * react to feedback * react to feedback * react to feedback * react to feedback * react to feedback * react to feedback * react to feedback * react to feedback * react to feedback * react to feedback * react to feedback
1 parent ea3f1cb commit 0656adf

File tree

4 files changed

+25
-18
lines changed

4 files changed

+25
-18
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
> [!NOTE]
2-
> * The Native AOT feature is currently in preview.
3-
> * In .NET 8, not all ASP.NET Core features are compatible with Native AOT.
2+
> Not all ASP.NET Core features are compatible with Native AOT.

aspnetcore/fundamentals/aot/native-aot-tutorial.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,28 @@ ms.topic: tutorial
77
content_well_notification: AI-contribution
88
ms.author: midenn
99
ms.custom: mvc
10-
ms.date: 08/10/2023
10+
ms.date: 5/10/2023
1111
uid: fundamentals/native-aot-tutorial
1212
ai-usage: ai-assisted
1313
---
1414
# Tutorial: Publish an ASP.NET Core app using Native AOT
1515

16-
<!-- UPDATE 9.0 Activate after release and INCLUDE is updated
16+
[.NET native ahead-of-time (AOT)](/dotnet/core/deploying/native-aot/) is available in ASP.NET Core.
1717

18-
[!INCLUDE[](~/includes/not-latest-version.md)]
19-
20-
-->
18+
> [!NOTE]
19+
> Minimal APIs are ***not*** compatible with native AOT.
2120
22-
ASP.NET Core 8.0 introduces support for [.NET native ahead-of-time (AOT)](/dotnet/core/deploying/native-aot/).
21+
See [Native AOT deployment](/dotnet/core/deploying/native-aot/) for more information, including:
2322

24-
> [!NOTE]
25-
> * The Native AOT feature is currently in preview.
26-
> * In .NET 8, not all ASP.NET Core features are compatible with Native AOT.
27-
> * Tabs are provided for the [.NET CLI](/dotnet/core/tools/) and [Visual Studio](https://visualstudio.microsoft.com/downloads/) instructions:
28-
> * Visual Studio is a prerequisite even if the CLI tab is selected.
29-
> * The CLI must be used to publish even if the Visual Studio tab is selected.
23+
* [Limitations of Native AOT deployment](/dotnet/core/deploying/native-aot/)
24+
* [Supported platforms](/dotnet/core/deploying/native-aot/)
3025

3126
## Prerequisites
3227

33-
# [.NET CLI](#tab/net-cli)
34-
35-
* [!INCLUDE[](~/includes/8.0-SDK.md)]
28+
# [.NET CLI](#tab/net-cli)
29+
<!-- explicitly specify SDK version or we could just list
30+
https://dotnet.microsoft.com//download and tell them to install the version they're targeting -->
31+
* [.NET SDK](https://dotnet.microsoft.com//download)
3632
* On Linux, see [Prerequisites for Native AOT deployment](/dotnet/core/deploying/native-aot/?tabs=net8plus#prerequisites-for-native-aot-deployment).
3733
* [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/) with the **Desktop development with C++** workload installed.
3834

@@ -43,7 +39,7 @@ ASP.NET Core 8.0 introduces support for [.NET native ahead-of-time (AOT)](/dotne
4339
4440
# [Visual Studio](#tab/visual-studio)
4541

46-
* [!INCLUDE[](~/includes/8.0-SDK.md)]
42+
[.NET SDK](https://dotnet.microsoft.com//download)
4743

4844
* [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/) with the following workloads installed:
4945
* **ASP.NET and web development**
@@ -175,3 +171,4 @@ info: Microsoft.Hosting.Lifetime[0]
175171
* [Exploring the new minimal API source generator](https://andrewlock.net/exploring-the-dotnet-8-preview-exploring-the-new-minimal-api-source-generator/)
176172
* [Replacing method calls with Interceptors](https://andrewlock.net/exploring-the-dotnet-8-preview-changing-method-calls-with-interceptors/)
177173
* [Configuration-binding source generator](/dotnet/core/whats-new/dotnet-8#configuration-binding-source-generator)
174+

aspnetcore/includes/10.0-SDK.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[.NET 10.0 SDK](https://dotnet.microsoft.com/download/dotnet/10.0)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
:::moniker-end
2+
:::moniker range="= aspnetcore-8.0"
3+
* [!INCLUDE[](~/includes/8.0-SDK.md)]
4+
:::moniker-end
5+
:::moniker range="= aspnetcore-9.0"
6+
* [!INCLUDE[](~/includes/9.0-SDK.md)]
7+
:::moniker-end
8+
:::moniker range=">= aspnetcore-10.0"
9+
* [!INCLUDE[](~/includes/10.0-SDK.md)]
10+
:::moniker-end

0 commit comments

Comments
 (0)