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 for Converge360.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube