Understand the benefits of modernizing to ASP.NET Core

Completed

In this unit, you'll learn when and why to upgrade existing ASP.NET applications running on .NET Framework to ASP.NET Core.

ASP.NET Core is the latest version of ASP.NET, and it includes many improvements over ASP.NET MVC. The most significant difference between ASP.NET Core and ASP.NET MVC is that it runs on the latest versions of .NET (formerly known as .NET Core), which are cross-platform. You can use it to build web applications that can run on Windows, Linux, or macOS. ASP.NET Core running on .NET provides many benefits over ASP.NET MVC running on .NET Framework. See the ASP.NET Core documentation for details pertaining to the following advantages:

Let's discuss some top benefits in a little more detail.

Performance

ASP.NET Core on .NET provides significantly higher performance over .NET Framework. This performance improvement provides several potential advantages, including faster response for individual responses, higher throughput, greater server efficiency, and reduced memory usage. All of these improvements translate to cost savings by serving more responses with lower server resources.

A number of case studies have documented these performance benefits. Microsoft Entra ID serves 115 billion requests per day, and was able to cut CPU costs by 50% by moving to .NET Core. Bing documented a 34% server latency improvement in migrating to .NET Core 2.1. Once Bing was running on .NET Core, the team was able to take advantage of each .NET Core version update, and continued to see large improvements in each update. The performance improvements continue to be an emphasis of innovation, further separating .NET from .NET Framework. Consider the following performance blog posts tracking various incremental improvements:

Cross-platform support

While .NET Framework is a Windows-only framework, ASP.NET Core is a cross-platform framework. ASP.NET Core can be developed and hosted on Windows, macOS, and Linux. This cross-platform support allows for flexibility in developer environments, CI/CD pipelines, and deployment. It's common to see developers and designers working on a mix of Windows and macOS environments and deploying applications to a variety of hosting environments, including Linux, Docker, Windows, and cloud-hosting platforms.

Microservices

ASP.NET Core is designed to be a lightweight, modular, and extensible framework you can use to build microservices. You can use ASP.NET Core to build small, standalone services you can use in a variety of environments, and that you can deploy and scale separately. Microservices support provides hosting flexibility, fine-grained scalability, and the flexibility to test and deploy small units of functionality.

Ecosystem

Updating your applications to ASP.NET Core gives you access to the newest releases of popular NuGet libraries, modern development tools, and the latest components from commercial tool vendors.

Access to new features in .NET updates

.NET Framework continues to be supported and receive security updates, but updates do not include new features. Updating to ASP.NET Core gives you access to new features in the yearly version updates.

Check your knowledge

1.

Which is not a reason to modernize an ASP.NET application to ASP.NET Core?