ASP.NET Core Introduction

Content :

What is .NET Core ?

  • The Microsoft .NET Core Framework is a free, open-source, and managed framework for Windows, Linux, macOS and can also be used to build devices, cloud, and IoT applications.
  • NET Core is a runtime. It can execute applications that are built for it.
  • ASP.NET Core 3 and higher now depend on .NET Core

What is ASP.NET Core ?

ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-enabled, Internet-connected apps. With ASP.NET Core, you can:

  • Build web apps and services, Internet of Things (IoT) apps, and mobile backends.
  • Use your favorite development tools on Windows, macOS, and Linux.
  • Deploy to the cloud or on-premises.
  • Run on .NET Core.
ASP.NET Core provides the following benefits:
  • A unified story for building web UI and web APIs.
  • Architected for testability.
  • Razor Pages makes coding page-focused scenarios easier and more productive.
  • Blazor lets you use C# in the browser alongside JavaScript. Share server-side and client-side app logic all written with .NET.
  • Ability to develop and run on Windows, macOS, and Linux.
  • Open-source and community-focused.
  • Integration of modern, client-side frameworks and development workflows.
  • Support for hosting Remote Procedure Call (RPC) services using gRPC.
  • A cloud-ready, environment-based configuration system.
  • Built-in dependency injection.
  • A lightweight, high-performance, and modular HTTP request pipeline.
  • Ability to host on the following:
    • Kestrel
    • IIS
    • HTTP.sys
    • Nginx
    • Apache
    • Docker
  • Side-by-side versioning.
  • Tooling that simplifies modern web development.
ASP.NET Core Vs. ASP.NET 4.x

ASP.NET Core

ASP.NET 4.x

Build for Windows, macOS, or Linux

Build for Windows

Razor Pages is the recommended approach to create a Web UI as of ASP.NET Core 2.x. See also MVCWeb API, and SignalR.

Use Web FormsSignalRMVCWeb APIWebHooks, or Web Pages

Multiple versions per machine

One version per machine

Develop with Visual StudioVisual Studio for Mac, or Visual Studio Code using C# or F#

Develop with Visual Studio using C#, VB, or F#

Higher performance than ASP.NET 4.x

Good performance

Use .NET Core runtime

Use .NET Framework runtime



Post a Comment

Previous Post Next Post