Tuesday, August 11, 2020

What are the Differences between ASP.NET WEB API and .NET Core WEB API

 ASP.NET Core

ASP.NET Core is an open-source, cross-platform framework for building modern, cloud-based web apps on Windows, macOS, or Linux.

ASP.NET Core provides the following benefits:


The following table compares ASP.NET Core to ASP.NET 4.x.

FRAMEWORK SELECTION
ASP.NET CoreASP.NET 4.x
Build for Windows, macOS, or LinuxBuild 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 machineOne 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.xGood performance
Use .NET Core runtimeUse .NET Framework runtime

No comments:

Post a Comment