哪些框架可在ASP.NET核心(ASP.NET 5)应用程序?

编程入门 行业动态 更新时间:2024-10-14 22:18:44
本文介绍了哪些框架可在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

全部列表,请参阅docs.nuget/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 有官方文档了。见docs.nuget/create/targetframeworks.

更新2 (2015年12月9日)

UPDATE 2 (Dec 9, 2015)

有点官方的文档现在可以从DOTNET。见.NET平台标准>的NuGet

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

对于坚持.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.

源代码.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)应用程序?

本文发布于:2023-11-15 15:58:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1595869.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可在   应用程序   框架   核心   ASP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!