News

4 Experts List Favorite New EF Core 5.0 Features

Experts in the open source community surrounding Microsoft's recent EF Core 5.0 release have weighed in with their favorite new features in the object-database mapper for .NET.

Because EF Core 5.0 -- the modern, open source, cross-platform evolution of Entity Framework -- already went feature complete, there weren't many brand-new features for Microsoft to announce during last week's GA release along with:

The EF Core CLI
[Click on image for larger view.] The EF Core CLI (RC version) (source: Microsoft).

It's also hard to summarize all of the cumulative changes, including:

So the dev team reached out to four pillars of the EF Core community and asked them to weigh in with their favorite new features. Here's a summary of what they had to say:

Simple Logging
Julie Lerman -- software coach, Pluralsight author and longtime user of Entity Framework:

"The LogTo method as a simple way to obtain logs while developing and debugging without installing additional dependencies."

Many-to-Many (M2M) Relationships
Diego Vega -- principal software engineer at Microsoft on the Azure networking team; former program manager for the EF Core team:

"I choose many-to-many because it comes with a payload of additional features."

ChangeTracker.Clear()
Jon P Smith -- .NET Core backend developer, architect and the author of "Entity Framework Core in Action":

"As with all EF Core releases, the team implements big features, but also many smaller usability improvements. The new DbContext.ChangeTracker.Clear() method is one of these improvements. It clears the EF change tracker so that all currently tracked entities are detached."

Improved Database-First Scaffolding
Erik Ejlskov Jensen -- Tech Lead at VENZO_nxt; maintainer of the popular EF Core Power Tools that provides reverse engineering, migrations and model visualization for EF Core:

"EF Core 5.0 includes many improvements for scaffolding (a.k.a. reverse-engineering) a DbContext for a database-first experience. These are features that can be both used from the command-line tools that ship with EF, or with community projects like Erik's visual EF Core Power Tools."

89K Downloads Per Day
The announcement post includes all of the above and much more in detail, and an exhaustive "what's new" page is also available.

As of this writing, the NuGet entry for EF Core 5.0 shows 110,688 downloads since its release eight days ago. Overall, EF Core has been downloaded 153,238,697 times, an average of 88,577 downloads per day.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube