Skip to content
Merged
Changes from all 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
4 changes: 2 additions & 2 deletions aspnetcore/grpc/native-aot.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ AOT compilation happens when the app is published. Native AOT is enabled with th

[!code-xml[](~/grpc/native-aot/Server.csproj?highlight=5)]

Native AOT can also be enabled by specifying the `-aot` option with the ASP.NET Core gRPC template:
Native AOT can also be enabled by specifying the `--aot` option with the ASP.NET Core gRPC template:

```dotnetcli
dotnet new grpc -aot
dotnet new grpc --aot
```

2. Publish the app for a specific [runtime identifier (RID)](/dotnet/core/rid-catalog) using `dotnet publish -r <RID>`.
Expand Down