Entity Framework Core 8: Improved JSON, queryable collections , and more… | .NET Conf 2023
Entity Framework Core 8 (EF8) introduces several new highly-requested features, as well as major underlying infrastructure changes setting up EF Core for future enhancements. The new EF8 features include: Chapters: 00:00 Welcome 00:44 Document vs Relational Databases 02:07 Use JSON to send multi-value parameters for translations such as `List.Contains` 03:15 Mapping and querying collections of primitive types 10:55 Mapping to JSON columns using SQLite 13:53 Leverage the new support for performance improvements, e.g. when using Contains 16:42 Use C# structs with DDD value object semantics in your classes while still splitting the contents to multiple columns in the database 23:58 Raw SQL queries for unmapped types 27:53 Official `HierarchyId` support for EF Core on SQL Server 33:29 In Summary Improvements to lazy loading and the change tracking APIs 36:02 Many small enhancements to existing features https://aka.ms/ef8-whats-new 36:26 A MongoDB Provider for EFCore https://aka.ms/efcore-mongodb 38:00 Thanks - Further JSON support in relational databases, including: - Use JSON to send multi-value parameters for translations such as `List.Contains` - Mapping and querying collections of primitive types - Mapping to JSON columns using SQLite - Leverage the new support for performance improvements, e.g. when using Contains - Use C# structs with DDD value object semantics in your classes while still splitting the contents to multiple columns in the database - Raw SQL queries for unmapped types - Official `HierarchyId` support for EF Core on SQL Server - Improvements to lazy loading and the change tracking APIs - Many small enhancements to existing features Join Arthur Vickers and Shay Rojansky from the EF team for a tour of these new features, with demos showing the JSON mapping and queries, and value type support. Download .NET 8 - https://aka.ms/get-dotnet-8 Hack Together - https://aka.ms/hacktogether/dotnet Learn collection - https://aka.ms/learn-dotnet-8 .NET 8 Survey - https://aka.ms/dotnet-survey Local Events - https://aka.ms/dotnetconf-local-event Hero blog - https://aka.ms/dotnet8blog Blog: https://aka.ms/dotnet/blog Twitter: https://aka.ms/dotnet/twitter TikTok: https://aka.ms/dotnet/tiktok Mastodon: https://aka.ms/dotnet/mastodon LinkedIn: https://aka.ms/dotnet/linkedin Facebook: https://aka.ms/dotnet/facebook Docs: https://learn.microsoft.com/dotnet Forums: https://aka.ms/dotnet/forums 🙋♀️Q&A: https://aka.ms/dotnet-qa 👨🎓Microsoft Learn: https://aka.ms/learndotnet #dotnet