Final answer:
In .NET Core 2.1, new features like SignalR and HttpClientFactory were introduced while in ASP.NET Core 2.1, features like Endpoint Routing and Razor Class Libraries were added.
Step-by-step explanation:
New Features in .NET Core 2.1
.NET Core 2.1 introduced several new features including:
SignalR: A real-time communication library that enables bi-directional communication between server and client.
HttpClientFactory: A factory for creating HttpClient instances that allows for better management of HttpClient instances in your application.
ASP.NET Core Identity UI: A modern UI-based identity framework that provides a user interface for user registration, login, and other identity-related functionalities.
New Features in ASP.NET Core 2.1
ASP.NET Core 2.1 also introduced several new features including:
Endpoint Routing: A new approach to routing that is more efficient and flexible than the previous routing system.
Authorization Improvements: Enhancements to the authorization system including support for policy-based authorization.
Razor Class Libraries: The ability to create reusable UI components and views using Razor syntax.