Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What frameworks are available in ASP.NET Core (ASP.NET 5) applications?

I have seen various frameworks targeted in project.json files, using names such as netcore50, dotnet, dnx451, net45, and others. The documentation for the "framework" section project.json does not (yet) specify how to use this section for different frameworks.

What frameworks are available and what name should be used in project.json to target each?

like image 790
natemcmaster Avatar asked Jun 10 '15 17:06

natemcmaster


People also ask

What is .NET 5 framework?

NET 5 is an open-source, cross-platform . NET framework, that will replace . Net Framework, . Net Core, and Xamarin with a single unified platform. .

Does .NET 5 include .NET Framework?

Net 5 will be powered with the best features of the . Net Framework, . Net Core, Mono, and Xamarin to provide APIs, libraries, and run-time to create apps for Web, Windows, Mobile & IoT devices.

Is .NET 5 core or framework?

ASP.NET Core 5.0 is based on . NET 5 but retains the name "Core" to avoid confusing it with ASP.NET MVC 5. Likewise, Entity Framework Core 5.0 retains the name "Core" to avoid confusing it with Entity Framework 5 and 6.

What type of framework is ASP.NET Core?

ASP.NET is a popular web-development framework for building web apps on the . NET platform. ASP.NET Core is the open-source version of ASP.NET, that runs on macOS, Linux, and Windows.


1 Answers

UPDATE 3

Full list see Target Frameworks.

The most common TFMs ASP.NET app developers need to know are:

  • netcoreappx.y = An application that targets .NET Core x.y (e.g. netcoreapp1.0 = .NET Core 1.0)
  • netstandardx.y = A library that targets .NET Standard x.y. (e.g. netstandard2.0 = .NET Standard 2.0). .NET Standard libraries can work on desktop .NET, Windows Phone, Mono, and others.
  • net4xy = A library or console app that targets desktop .NET Framework 4.x.y (e.g. net452 or net46)

UPDATE 2 (Dec 9, 2015)

Somewhat official docs are now available from dotnet. See .NET Platform Standard → Nuget

For libraries targeting multiple platforms that adhere to the .NET Standard, these TFMs (target framework monikers) are available.~

UPDATE (Aug 12, 2015)

This Nuget blog post shows additional TFMs available for nuget. It also explains the dotnet TFM.

Original response

Although this is not official documentation, this blog post by Oren Novotny has an excellent table showing the different target framework monikers.

like image 193
natemcmaster Avatar answered Sep 21 '22 12:09

natemcmaster