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 is an open-source, cross-platform framework for building modern, cloud-based web apps on Windows, macOS, or Linux.
ASP.NET is a mature framework that provides all the services needed to build enterprise-grade, server-based web apps on Windows.
Review the table below to determine which framework is most appropriate for your needs.
|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
- Razor Pages is the recommended approach to create a Web UI as of ASP.NET Core 2.x.