Tags

#aot
aot

1stories
4 d agolatest
.NET 11 Native AOT
Domain model under AOT

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.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message