.NET Core apps run in one of two modes: framework-dependent or self-contained. On my MacBook, a minimal self-contained ASP.NET Core application is 93 MB and has 350 files. By contrast, a minimal framework-dependent app is 239 KB and has 5 files.
https://natemcmaster.com/blog/2018/08/29/netcore-primitives-2/
https://natemcmaster.com/blog/2018/08/29/netcore-primitives-2/