Understanding ASP.NET Core

Shailendra Chauhan  Print 
04 May 2018
06 Aug 2018
Beginner
51.7K

ASP.NET Core is a light-weight, open-source and cross-platform unified framework for developing web UI and web APIs. ASP.NET Core is a complete redesign of existing ASP.NET 4.x, with architectural changes that make it leaner, modular and high-performance framework.

Evolution of ASP.NET Core

Evolution of ASP.NET Core

Features of ASP.NET Core

  1. Open-source

  2. Cross-platform framework which runs on macOS, Linux, and Windows.

  3. Runs on the top of .NET Core or full .NET Framework having version 4.6+.

  4. A unified framework for building web UI and web APIs.

  5. Built-in dependency injection.

  6. New light-weight and modular HTTP request pipeline.

  7. Ships entirely as NuGet packages.

  8. Side-by-side versioning when targeting .NET Core.

  9. Built-in supports for SPA using client-side frameworks like Angular, React, Vue etc.

  10. Supports IIS, Nginx, Apache, Docker, or self-host deployment.

ASP.NET Core 2.1 Architecture

ASP.NET Core 2.1 Architecture

ASP.NET Core Version History

Version
Release Date
ASP.NET Core 2.1
May 2018
ASP.NET Core 2.0
August 2017
ASP.NET Core 1.1
November 2016
ASP.NET Core 1.0
June 2016

ASP.NET Core Performance Benchmarks

ASP.NET Core is the fastest framework which can serve 2300% more requests per second as compared to ASP.NET 4.6. It's around 20 times faster than Node.js.

ASP.NET Core Performance Benchmarks

ASP.NET Core Anatomy

In ASP.NET Core everything starts with Program.cs, Main Method. ASP.NET Core apps require a startup class which serves as an alternative to Global.asax in ASP.NET 4.x. It uses cross-platform Kestrel web server to serve the request and response. Here, IIS/Apache Tomcat/Nginx work as a delegation web server, and used to delegate the incoming request to the internal Kestrel web server.

Evolution of ASP.NET Core

What ASP.NET Core doesn't have :

  1. Global.asax

  2. Web.Config

  3. Modules and Handlers

  4. Typical ASP.NET page life-cycle

What do you think?

I hope you will enjoy the ASP.NET Core. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.

Crack Your Technical Interview
 
Join Our Hands-on Training Programs
+