dotnet / dotnet/docs

Clarify distinction if any between Single-File App and Native AOT

Open
#33,324 0 comments 3 reactions 0 assignees View on GitHub
dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

It would be great to address what appears to be very similar deployment methods:

1. Single-file deployment and executable with ReadyToRun Compilation
https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli
https://learn.microsoft.com/en-us/dotnet/core/deploying/ready-to-run
2. Native AOT Deployment
https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/

Are they different? In which way? Are they compatible or separate? Do they have overlapping features? Would be great to help understand and contrast the similarities and differences between the two, since PublishReadyToRun seems to sound very simliar to PublishAot

Thanks so much!

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: 63476200-2ede-1779-9cc9-1503efec1b36
* Version Independent ID: 54aa95cb-2d5b-85c9-6c34-1fc0348f7cb1
* Content: [Native AOT deployment overview - .NET](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/)
* Content Source: [docs/core/deploying/native-aot/index.md](https://github.com/dotnet/docs/blob/main/docs/core/deploying/native-aot/index.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @LakshanF
* Microsoft Alias: **lakshanf**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.