rkttu
May 13, 2026, 4:21am
1
.NET 10에 포함되는 File-based App 지원에 있어 #:include 외에 또 하나의 아쉬운 점으로 꼽히는 부분은 역시 EF Core 지원일 것입니다.
마침 EF Core 팀에서도 이 문제를 정확히 인식하고 있고, 이번 .NET 11 Preview 4 출시에 맞춰 EF Core 11 Preview 4가 나오면 관련된 업데이트가 포함될 것으로 보입니다. 기능 구현에 관련된 PR이 merge된 부분이 있네요!
main ← jjonescz:fba
열림 07:56AM - 23 Apr 26 UTC
Resolves https://github.com/dotnet/efcore/issues/38158.
- [ ] I've read the g… uidelines for [contributing](https://github.com/dotnet/efcore/blob/main/.github/CONTRIBUTING.md) and seen the [walkthrough](https://youtu.be/9OMxy1wal1s?t=1869)
- [x] I've posted a comment on an issue with a detailed description of how I am planning to contribute and got approval from a member of the team
- [x] The code builds and tests pass locally (also verified by our automated build checks)
- [ ] Commit messages follow this format:
```
Summary of the changes
- Detail 1
- Detail 2
Fixes #bugnumber
```
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] Code follows the same patterns and style as existing code in this repo
2 Likes
따로 찾아보진 않았고 카더라로 알고 있는 것이지만, EF Core는 Code Emit 계열의 Reflection을 사용하는 것으로 알고 있는데 그러면 FBA에서는 NativeAot 지원을 꺼야하는걸까요? 아니면 EF Core가 완전 NativeAot 친화로 오는걸까요? 그런게 좀 궁금하군요…
제가 잘못 알았던 것이면 좋겠지만…
rkttu
May 13, 2026, 6:34am
3
보신게 맞습니다. 다만 Anti-Reflection을 추구하는 기조도 있기에 장기적으로 EF가 Source Generator 기반으로 넘어갈 가능성도 없진 않은 것 같네요!
열림 08:48PM - 13 May 21 UTC
area-perf
area-global
area-aot
composite-issue
This is a grouping of related issues. Feel free to vote (👍) for this issue to in… dicate that this is an area that you think we should spend time on, but consider also voting for individual issues for things you consider especially important.
---
The code that currently uses reflection and expression compilation at runtime can be precompiled:
- [x] #24900
- [x] #25009
- [x] #24904
- [x] #11124
- [ ] #27437
This would allow to remove all reflection data from the compiled model (e.g. `IReadOnlyTypeBase.ClrType`, `IReadOnlyPropertyBase.PropertyInfo`) and significantly improve AOT experience.
2 Likes