.NET 11 Native AOT
Domain model under AOT
NPNimblePros Blog
4 d ago
Publishing a C# 15 Domain Model with Native AOT on .NET 11
NimblePros published its Tiles & Tokens sample, which relies on C# 15 unions and closed hierarchies, as a Native AOT binary on the .NET 11 RC1 SDK. The domain and serialization code produced no trimming or AOT warnings, and the native app ran correctly. The publish errors came from a reflection-based converter, an anonymous type and EF Core, which is a useful checklist for anyone planning a Native AOT app.