Skip to content

Commit 72de672

Browse files
committed
Update AOT documentation and example README
Reordered and updated resource links in AOT-Support.md for improved clarity. Adjusted feature and benefit lists in Zetian.AotExample README for better organization and readability.
1 parent 40f876e commit 72de672

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

AOT-Support.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,6 @@ JsonSerializer.Serialize(data, JsonContext.Default.HealthCheckResponse);
176176

177177
## Resources
178178

179-
- [Trimming Documentation](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming)
180-
- [.NET Native AOT Documentation](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot)
181-
- [AOT Compatibility](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/api-compatibility)
179+
- [AOT Compatibility](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot#aot-compatibility-analyzers)
180+
- [Trimming Documentation](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trim-self-contained)
181+
- [.NET Native AOT Documentation](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot)

examples/Zetian.AotExample/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ This example demonstrates how to use Zetian SMTP Server with Native AOT compilat
55
## Features Demonstrated
66

77
- ✅ Trimming-compatible code
8-
- ✅ SMTP Server with AOT compilation
98
- ✅ Event handling without reflection
9+
- ✅ SMTP Server with AOT compilation
1010
- ✅ Minimal reflection usage (only for JSON)
1111
- ✅ Health Check service with reflection-based JSON serialization
1212

@@ -83,9 +83,9 @@ The example includes hybrid AOT optimizations:
8383
## Why Hybrid AOT?
8484

8585
The hybrid approach provides:
86-
- **Flexibility**: Use anonymous types and dynamic JSON
8786
- **Simplicity**: No need for source generators
8887
- **Compatibility**: Works with existing JSON code
88+
- **Flexibility**: Use anonymous types and dynamic JSON
8989
- **Performance**: Core SMTP functionality still AOT-optimized
9090

9191
## Notes

0 commit comments

Comments
 (0)