In this article we are going to look at Entity Framework (EF) Core 5 and explore how it can be implemented in a .NET solution.
EF Core 3+ May Work With Your Existing System
EF Core 3+ will work with .NET Standard 2.1+ applications – specifically .NET Core 2 and newer applications. To be clear, applications do not have to also be developed in .NET 5, although using .NET 5 is recommended for all new projects. You just need to install the proper libraries for your project.
Now… Lets Add EF 5 Core To The Project
“You still need to add EF 5 Core to the project. There are two (2) main libraries that must be added.”
I still need to add EF 5 Core to my project. There are two (2) main libraries that I must add. First, you must install EF CLI tools. Second, you must install my EF provider for the type of database vendor you will be supporting. Understand that when you install these two NuGet packages, they will install several dependent packages. Don’t be intimidated by the number of dependencies!
To get started, you must right-click the project and click Manage NuGet Packages…
You can see the commonly used CLI commands listed in the package’s description. These can be used in your favorite CLI shell or in Visual Studio’s NuGet Package Manager Console (PMC). Select the first package that appears in the results and click the Install button.
Click OK after reviewing the list.
If You Work With A .NET Framework, Let Intertech Help You Pivot To The New EF Core 5.
Take a look at the proposed .NET Schedule .
.NET 5.0 Support And What You Should Know.
As you can see, Microsoft is changing its release strategy for .NET. After .NET 5.0 is released, they will continue to release a new major version every year in November. Microsoft is also changing its support strategy for .NET with Long Term Support (LTS) versions. Specifically, going forward, even-numbered version releases will be LTS versions with odd-numbered releases being General Availability (GA) releases. This new rapid release schedule can easily be overlooked by teams maintaining software solutions. It’s a significant shift in the release strategy for .NET by Microsoft. Software using the .NET framework will need to be updated to maintain security and performance.
If you are using .NET, speak with Intertech about complete application development & keeping your team up-to-date! Davin Mickelson & Intertech are ready to hear from you!
Tell us about your project and we’ll gather the right people, discuss your request, clarify any questions, and provide a price estimate that you can use to decide if Intertech is a good fit for you!
“We Take The Worry Out Of Custom Software Development!”
Turn-Key Custom Application Development Solutions Since 1991
Independent & Co-Development
Tom Salonek Founder & CEO