Asp.net 5 (vnext) 可以使用了吗?

Is Asp.net 5 (vnext) ready to use?

Asp.net5 (vnext) 可以使用了吗?我刚刚下载了 VS 社区版本,我正在尝试使用 asp.net 5 API 但它缺少文档。

有谁知道在哪里可以找到有关创建 asp.net 5 个 Web 应用程序的好文档?

最新消息

您可能已经经历过从 RC1 迁移到 RC2 及其所有重命名和重构的痛苦。

即使您是从 RC2 开始的,您也可能已经意识到即将发生的变化会对您产生影响。例如:

简而言之,有些人认为即使它被称为 RC 或拥有 Go Live 许可证,等待仍然是明智的。例如,参见 Hadi Hariri 的 excellent post。做你的研究并决定它是否足够成熟用于你的下一个项目!

发布候选版本 2 和 RTM

最初的计划是为 2016 年第 1 季度准备好 RTM 1.0,但 RC1 和 RC2 之间发生了一些根本性的变化,这对最初的计划产生了影响(例如参见 Scott Hanselman 的 update on RC2). For up to date info check their roadmap

截至今天(2016 年 5 月 6 日),他们共享了 update on the schedule。根据此更新,他们决定 将 .Net Core runtime/library 的版本与工具 的版本分开:

  • .NET Core 和 ASP.NET Core 1.0 RC2 运行时和库将于 5 月中旬提供。
    • 工具将成为预览版 1 并与此版本捆绑在一起。
  • .NET Core 和 ASP.NET Core 1.0 RTM(发布)运行时和库将于 6 月底可用。
    • 工具将成为预览版 2 并与此版本捆绑在一起。

从同一个更新中,我们可以期待 RC2 .Net Core Go Live 许可证和官方支持,但工具不在同一级别:

  • The .NET Core 1.0 RC2 runtime is a true Release Candidate. It’s solid, stable, and it won’t change for RTM (except if something critical happens) and we feel good about it. It will have a “go-live” license, meaning you can get official support from Microsoft.
  • The tooling that supports .NET Core and ASP.NET Core, including the new command line tools and bits that plug into Visual Studio & Visual Studio Code, aren’t there yet. It’s going to change before it stabilizes. We’re going to call this tooling release Preview 1.

发布候选版本 1

Microsoft 最近宣布发布 ASP.Net 5 Release Candidate 1。公告详情 here in the official blog.

它现在包含一个 Go Live 许可证

Starting with the RC1, we are including a “Go Live” license. This license allows you to deploy an application written with ASP.NET 5 RC1 to a production environment and utilize Microsoft Support. The duration of this license for the RC1 last until the next release candidate or the completed release of ASP.NET 5 (called an RTM release) that is currently scheduled for Q1 2016. This license also covers running ASP.NET on Windows, Linux, and OSX.

还有一个新站点 http://get.asp.net/,您可以在其中下载该框架。 (也将包含在 VS 2015 Update 1 中)

旧测试日

ASP .Net 5 尚未准备好投入生产,仍处于测试阶段。来自 Scott Guthrie's announcement 最新的 VS2015 和 .Net4.6 版本:

The ASP.NET 5 Beta 5 runtime packages are in preview and not recommended for use in production, so please continue using ASP.NET 4.6 for building production grade apps.

您可以在 github page 上查看 ASP .Net 5 时间表和路线图,他们希望在 2016 年第一季度准备好 1.0 版本。

文档

这些是查找更多信息的主要地方:

  • 主要文档站点仍在建设中,但在 docs.asp.net 上不断发展壮大。 (而且是开源的!)
  • 您还可以查看 asp.net/vnext 以获取信息和教程。
  • 最后,您可以在位于 github.com/aspnet.
  • 的 github 存储库中查看源代码、测试和 tutorial/demo 项目