kunal-chowdhury.com

ASP.NET Core 2.1 released, along with .NET Core 2.1 and Entity Framework Core 2.1


ASP.NET Core is an open-source, cross platform, .NET centric web development framework. The latest version of .NET Core and ASP.NET Core has been released by Microsoft, as .NET Core 2.1.0 and ASP.NET Core 2.1.0, which you can now use in production environment.

 

Continue reading to know what has been changed in ASP.NET Core 2.1 and Entity Framework Core 2.1, along with the links to download.

 

ASP.NET Core 2.1 released, along with .NET Core 2.1 and Entity Framework Core 2.1

 

Download .NET Core 2.1.0 SDK and Runtime

.NET Core 2.1.0 is now available for download. Checkout the post What's new in .NET Core 2.1.0 to know more about it. If you are willing to download .NET Core SDK and .NET Core Runtime as a separate installer, here's the links for you:

 

What's new in ASP.NET Core 2.1.0?

 

To know more about the new features introduced in ASP.NET Core 2.1.0, checkout the What's New in ASP.NET Core 2.1 page in the official ASP.NET Core docs site.

 

What's new in Entity Framework Core 2.1.0?

  • Lazy loading - You can now load the navigation properties on demand using the Microsoft.EntityFrameworkCore.Proxies, which leverages the building blocks to produce lazy loading proxy classes.
  • Parameters in entity constructors - You can use parameters in the entity constructors to inject property values, lazy loading delegates and services.
  • Value conversions - Starting with Entity Framework Core 2.1, value conversions can be applied to transform the values obtained from columns before they are applied to properties, and vice versa.
  • LINQ GroupBy translation - Entity Framework Core 2.1.0 supports translating GroupBy LINQ operator to the SQL GROUP BY clause in most common cases.
  • Data Seeding - With the new release it will be possible to provide initial data to populate a database.
  • Query types - An EF Core model can now include query types. Unlike entity types, query types do not have keys defined on them and cannot be inserted, deleted or updated, but they can be returned directly by queries.
  • Include for derived types - In Entity Framework Core 2.1.0, it will now be possible to specify navigation properties only defined on derived types when writing expressions for the Include method.
  • Support of System.Transactions - The ability to work with System.Transactions features such as TransactionScope has been added to Entity Framework Core 2.1.0.
  • Better column ordering in initial migration - While performing migrations to initially generate columns for tables, it will now put them in the same order as properties are declared in classes.
  • Optimization of correlated sub-queries - It will now avoid executing “N + 1” SQL queries in many common scenarios.
  • Owned attribute - It is now possible to configure owned entity types by simply annotating the type with [Owned] attribute.
  • FromSql code analyzer tool - A new code analyzer is included with Entity Framework Core 2.1.0 that detects possibly unsafe usages.

 

You may like to read: What's new in .NET Core 2.1.0?

 

 



If you have come this far, it means that you liked what you are reading. Why not reach little more and connect with me directly on Twitter, Facebook, Google+ and LinkedIn. I would love to hear your thoughts and opinions on my articles directly.

Also, don't forget to share your views and/or feedback in the comment section below.

0comments


© 2008-2018 Kunal-Chowdhury.com | Designed by Kunal Chowdhury
Back to top