AspNetCore_Overview
AspNetCore_Overview
We will discuss all the basic, intermediate, and advanced concepts of ASP.NET Core. These ASP.NET
Core tutorials will help we to build rich data-driven web applications. At the end of this ASP.NET Core
Tutorial series, we will be better positioned to develop different kinds of Real-time applications using
EF Core, SQL Server Database, ASP.NET Core Identity, etc. We will learn ASP.NET Core basics, ASP.NET
Core Razor Pages, ASP.NET Core MVC, Blazor, Entity Framework Core, and ASP.NET Core Web API.
ASP.NET Core (.NET) is a free, open-source, and cloud-optimized framework that can run on Windows,
Linux, or macOS. It is the new version of ASP.NET. The framework was completely rewritten to be
open-source, modular, and cross-platform.
ASP.NET Core:
-> Web Framework
-> Open-Source
-> Cross-Platform
-> Modular
-> Cloud Optimize
-> Runs on top of the .NET Core and .NET Framework
.NET Core is the new version of the .NET Framework, a free, open-source, general-purpose
development platform maintained by Microsoft.
It was designed to build modern, high-performance, and scalable applications that could run on
Windows, macOS, and Linux.
.NET Core aimed to provide a unified platform for developing various applications, including web
applications, desktop applications, microservices, and more.
.NET Core is written from scratch to be a modular, lightweight, fast, and cross-platform framework.
It includes the core features required to run a basic .NET Core app.
Other features are provided as NuGet Packages, which you can add to your application as needed.
In this way, the .NET Core application speeds up performance, reduces the memory footprint, and
becomes easy to maintain.
The following are some of the reasons why you might choose .NET Core over .NET Framework for
your application development:
Cross-Platform Compatibility: .NET Core was designed from the ground up to be cross-platform,
allowing you to develop applications that can run on Windows, macOS, and Linux. .NET Framework,
1
on the other hand, was primarily Windows-centric. If you needed your application to work on non-
Windows platforms, .NET Core was the better choice.
Open Source:
.NET Core was open source, meaning you can access the source code and contribute to its
development. This allows you to customize the framework to suit your needs better. .NET Framework
was not open source.
If you need an Open Source framework for your application, then .NET Core is the winner here.
.NET Core was optimized for performance and suitable for modern application development.
It included features like just-in-time (JIT) compilation, which improved runtime performance, and
support for modern application patterns like microservices and containerization.
.NET Framework was designed in an earlier era and lacked these features.
.NET Core introduced the concept of LTS releases, which provided a stable and supported platform for
an extended period.
This was particularly important for enterprise applications that required long-term stability and
security updates.
Currently, Microsoft will not provide any new enhancements for the .NET Framework.
Note: Microsoft continued encouraging developers to migrate from .NET Framework to .NET Core and
the subsequent .NET 5+ versions to take advantage of the benefits mentioned above.
.NET Core:
Developer(s): .NET Foundation
Initial Release: .NET Core 1.0 – 27th June 2016
Stable Release: .NET 8
Preview Release: .NET 9
Repository: github.com/dotnet/core
Written: C++ and C#
Operating System: Windows, Linux, and macOS
Type: Software Framework
Website: dotnet.microsoft.com
2
free support and patches for three years. Odd-numbered releases are STS releases with free support
and patches for 18 months.
.NET Core has evolved over various versions, with each version introducing new features,
improvements, and changes. Here are some notable features introduced in each major version
of .NET Core:
3
Enhanced performance and support for cloud-native applications.
Blazor Server is used to build interactive web UIs using C#.
Improved performance for JSON serialization and deserialization.
Improved support for Azure Functions and Azure App Service.
These are key features introduced in each version of .NET Core and the subsequent unified .NET
platform. It’s important to note that the .NET ecosystem continues to evolve, with new features and
improvements regularly added in subsequent versions beyond .NET 6.
4
CoreFx: A Set of framework libraries.
CoreCLR: A JIT-based CLR (Common Language Runtime).
CoreCLR is the .NET execution engine in .NET Core, performing garbage collection and machine
code compilation functions.
Web: ASP.NET Core MVC, Web API, Razor Pages, and Microservices
Mobile
Console
Desktop Applications (Starting from 3.0)
IoT
ML
Gaming Applications
Cloud Applications