哪些框架可在ASP.NET核心(ASP.NET 5)应用程序? [英] What frameworks are available in ASP.NET Core (ASP.NET 5) applications?

查看:159
本文介绍了哪些框架可在ASP.NET核心(ASP.NET 5)应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到有针对性的的 project.json 的文件,使用的名称,如 netcore50 DOTNET dnx451 net45 ,及其他。对于框架部分project.json 不会在文档(还)指定如何使用本节不同的框架。

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.

什么框架是可用的,应在使用什么名称的 project.json 的目标每?

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

推荐答案

更新4

全部列表,请参阅<一个href=\"http://docs.nuget.org/create/targetframeworks\">http://docs.nuget.org/create/targetframeworks.

最常见的TFMs ASP.NET应用程序的开发人员需要知道的是:

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


  • netcoreapp1.0 =为目标的应用程序的 .NET 1.0的核心

  • netstandard1.x =该目标的库 .NET标准1.x中。 (例如 netstandard1.5 )。 .NET标准库可以在桌面上使用.NET,Windows Phone的,单声道,和其他人。

  • net4xy = A库或控制台应用程序为目标的桌面 .NET框架4.xy (如 net452 net46

  • netcoreapp1.0 = An application that targets .NET Core 1.0
  • netstandard1.x = A library that targets .NET Standard 1.x. (e.g. netstandard1.5). .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)

更新3
有官方文档了。见<一href=\"http://docs.nuget.org/create/targetframeworks\">http://docs.nuget.org/create/targetframeworks.

更新2 (2015年12月9日)

UPDATE 2 (Dec 9, 2015)

有点官方的文档现在可以从DOTNET。见<一href=\"https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/standard-platform.md#nuget\">.NET平台标准>的NuGet

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

对于坚持<一库针对多个平台href=\"https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/standard-platform.md\">.NET标准,这些TFMs(目标框架的绰号)是可用的。

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

有关特定于平台的绰号,这些TFMs是可用的。

For platform-specific monikers, these TFMs are available.

源代码<一个href=\"https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/standard-platform.md#nuget\">.NET平台标准>的NuGet

更新(2015年8月12日)

UPDATE (Aug 12, 2015)

此的NuGet博客帖子显示额外的TFM的可用的NuGet。这也解释了 DOTNET TFM。

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

原始响应

虽然这不是官方文档,这篇博客文章由奥伦诺沃提尼具有显示不同的目标框架的绰号(下图)一个优秀的表。

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

这篇关于哪些框架可在ASP.NET核心(ASP.NET 5)应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆