Our great sponsors
-
Entity Framework
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
VestPocket
👜 Single-file persisted lookup key/value database contained in a pure .NET 7.0+ library. All records persisted are kept in-memory for fast retrieval and synchronized with the file.
Regarding EF.Core, I've seen example rd.xml templates and references in GitHub about AOT trimming. I've spent a few hours trying to get EF.Core 7 to work, including trying pre-compiled models, but keep running into errors like this:
Regarding EF.Core, I've seen example rd.xml templates and references in GitHub about AOT trimming. I've spent a few hours trying to get EF.Core 7 to work, including trying pre-compiled models, but keep running into errors like this:
There are projects like Dapper.AOT, but the project has a long to-do list and it's not clear how active it is.
I'm working on Vest Pocket to be an AOT friendly data store for small and toy projects (or as a side-car data store), but it won't help you with database access.
Related posts
- Multi-tenancy using schemas with Entity Framework and PostgreSQL
- Linux or Windows for .net development?
- Show HN: Tankman – An Open Source User Management and Authorization MicroService
- EF Core/NET 6 - How to execute sql server stored procedure and get the result set?
- Deploying sqlite database to android emulator