Picks – .NET Core 2.0


.NET Core 2.0 was announced earlier this month as a final release, making it ready for production workloads – it was also joined by the final release of ASP.NET Core 2.0 and Entity Framework Core 2.0. .NET Standard 2.0 was also finalised at the same time and makes it even easier to share code between each .NET implementation that supports this and doubles the set of APIs available for projects. .NET Core 2.0 includes major improvements to make it easier to use and more capable including framework and runtime performance improvements, additional supported platforms such as Debian Stretch and macOS High Sierra and it’s much easier to target Linux as a single operating system, can reference .NET Framework Libraries from .NET Standard, added support for Visual Basic, IDE productivity enhancements, project system simplifications and more, all making .NET Core a more mature and useful for everyone in .NET Core 2.0!

ASP.NET Core 2.0 adds many new features to make building and monitoring web apps and easier, including introducing Razor Pages which simplifies the Model-View-Controller architecture allowing the creation of standalone pages, there’s upgraded Templates and Single Page Application (SPA) Templates, Monitor and Profile with no code changes plus Application Insights, there’s Razor support for C# 7.1 to support the latest language features, simplified Application Host configuration and many other changes, providing new ways to write applications and simply operation of managing a production application when using ASP.NET Core 2.0!

Entity Framework 2.0 is the lightweight, extensible, cross-platform object/relational mapping framework for .NET and now targets the new .NET STandard 2.0 which defines a shared surface area of over 32,000 APIs that work across .NET Framework, .NET Core, Mono, Xamarin and soon the Universal Windows Platform. There’s imrproved LINQ translation with increased number of patterns that can be translated to SQL plus addition of Like query operator, you define “owned” or “child” entities which group properties within other entities, global query filters are now possible where you can specify filters in the model that are applied automatically to all entities of a type, you can pool pre-created instances of DbContext to boost performance, there’s string interpolation of raw SQL methods – where the resulting SQL syntax is correctly parameterised where needed, and many more features besides such as explicitly compiled queries, self-contained entity configurations and database scalar function mapping, all of this making it even easier to work with data using Entity Framework 2.0!
Originally Published 30th August 2017

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s