This repository contains a demo project for benchmarking the .NET Native Ahead-of-Time (AOT) compilation. The project can be built and run using Docker or the .NET SDK directly.
1. Build
docker build -t native-aot:latest ./nativeAot
2. Run
docker run -d -p 8080:8080 -p 8081:8081 native-aot
3. Get endpoint
http://localhost:8080/todos