Change api template to webapiaot (#30029)

pull/30038/head
Tom Dykstra 2023-08-10 15:36:04 -07:00 committed by GitHub
parent 5aff32a057
commit 7333b1b39e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ author: rick-anderson
description: Learn about the new features in ASP.NET Core 8.0.
ms.author: riande
ms.custom: mvc
ms.date: 08/02/2023
ms.date: 08/10/2023
uid: aspnetcore-8
---
# What's new in ASP.NET Core 8.0
@ -211,7 +211,7 @@ Support for [.NET native ahead-of-time (AOT)](/dotnet/core/deploying/native-aot/
### New project template
The new **ASP.NET Core API** template in Visual Studio 2022 has an **Enable native AOT publish** option. The equivalent template and option in the CLI is the `dotnet new api` command and the `--aot` option. This template is intended to produce a project focused on cloud-native, API-first scenarios. For more information, see [The API template](xref:fundamentals/native-aot#the-api-template).
The new **ASP.NET Core Web API (native AOT)** project template (short name `webapiaot`) creates a project with AOT publish enabled. For more information, see [The Web API (native AOT) template](xref:fundamentals/native-aot#the-web-api-native-aot-template).
### New CreateSlimBuilder method