Turbocharge Coldstarts with ASP.NET Core NativeAOT

Rainer Stropek | time cockpit

Rainer Stropek

Passionate software developer
IT-Entrepreneur, CoderDojo-Mentor, Teacher

software architects gmbh
rainer@software-architects.at
https://rainerstropek.me

https://github.com/rstropek/Techorama24NativeAOT/blob/master/readme.md

Summary

  • Why?
    • Reduce cold start time
    • Less memory (RAM and disk) - not always, but often
  • Good for everything?
    • No! 🔗
    • Mainly because of assembly trimming 🔗
    • Important libraries and parts of ASP.NET Core are not compatible (yet)
  • Test your apps after compiling for NativeAOT
    • Behavior should be identical to dotnet run
    • Better safe than sorry!
  • Learn more 🔗

Turbocharge Coldstarts with ASP.NET Core NativeAOT

By Rainer Stropek

Turbocharge Coldstarts with ASP.NET Core NativeAOT

  • 189