Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

00 Details on updates targeting .NET Core 2.0

Cesar De la Torre edited this page Nov 14, 2017 · 5 revisions

Background

Earlier this year, we published an eBook and sample application offering guidance for Architecting Modern Web Applications with ASP.NET Core and Microsoft Azure.

You can read more about the goals for this eBook and its initial publication here.

We have recently published updates to the eBook and sample application to bring them in line with the latest releases of ASP.NET Core 2.0 and Entity Framework Core 2.0.

This post describes some of the highlights of the changes. Note that the sample project is open source and you can contribute by filing issues (if you have questions or discover problems) and submitting pull requests.

What’s New in the Web apps architecture guidance with .NET Core 2.0

The eBook has been updated to ASP.NET Core 2.0, .NET Standard Library 2.0 and Entity Framework 2.0 and .NET Core 2.0 in general, while referencing to the new code implemented in the updated sample app.

The sample application has been expanded to support additional functionality over what existed in the initial version. Specifically, in addition to allowing users to manage a shopping cart, log in, and check out, users can now view past orders. Orders also include shipping address data, which is implemented as a value object using the new owned entities in EF Core 2.0.

All of the projects have been updated to the ASP.NET 2.0, netstandard 2.0, and EF Core 2.0, as appropriate.

Also, the identity management system has been updated to use the latest ASP.NET Identity 2.0 version, which includes built-in support for Two Factor Authentication (2FA) using an Authenticator app.

In addition, the sample now makes use of the Specification pattern to improve the design of its data access and better follow separation of concerns. These additional application features were added to help make the sample more “real world” in nature, providing more opportunities to demonstrate new features and techniques available in ASP.NET Core.

Finally, one of the new features added in ASP.NET Core 2.0 is Razor Pages, and so the eBook and the sample application have been updated to demonstrate side-by-side in separate web projects both a Razor Pages implementation and a Controllers-and-Views implementation of the same business application.

Clone this wiki locally