As Thomas says in the comments, this should be possible after LLILC . It targets .NET Core, which runs ASP.NET 5. I'm not sure if the resulting runtime can be called .NET Native for everyone, but LLILC do have plans to initially compile IL (like the Roslyn release) ahead of the time.
Another option is ASP.NET running on CoreRT , using RyuJIT as an AOT compiler. Today it looks closer to reality than LLILC. We saw some experiments on compiling an ASP.NET project on CoreRT, but nothing works.
[.NET Native uses a UTC compiler that compiles to run on certain C ++ scripts (MRT is a minimal runtime environment or a managed runtime environment that may not be remembered, also known as Native runtime). Currently, .NET Native UWP applications are Windows specific. Although .NET Native and UWP are advertised in .NET Core, this can be misleading, since only in debug mode does UWP target CoreCLR, in release mode it focuses on native runtime, which depends on Windows. LLILC / CoreRT should change that.]
source share