AspNetCore.Docs/aspnetcore/choose-aspnet-framework.md

2.3 KiB

title author description manager ms.author ms.date ms.prod ms.technology ms.topic uid
Choose between ASP.NET and ASP.NET Core rick-anderson Learn how to choose between ASP.NET and ASP.NET Core. wpickett riande 05/11/2018 asp.net-core aspnet article fundamentals/choose-between-aspnet-and-aspnetcore

Choose between ASP.NET and ASP.NET Core

No matter the web app you're creating, ASP.NET has a solution for you: from enterprise web apps targeting Windows Server, to small microservices targeting Linux containers, and everything in between.

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

ASP.NET is a mature framework that provides all the services needed to build enterprise-grade, server-based web apps on Windows.

Framework selection

Review the table below to determine which framework is most appropriate for your needs.

ASP.NET Core ASP.NET
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 MVC, Web API, and SignalR. Use Web Forms, SignalR, MVC, Web API, WebHooks, or Web Pages
Multiple versions per machine One version per machine
Develop with Visual Studio, Visual 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 Good performance
Choose .NET Framework or .NET Core runtime Use .NET Framework runtime

ASP.NET Core scenarios

ASP.NET scenarios

Resources