我迷路了。 ASP.NET MVC 5发生了什么? [英] I'm lost. What happened to ASP.NET MVC 5?

查看:127
本文介绍了我迷路了。 ASP.NET MVC 5发生了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在努力处理各种项目,显然Microsoft一直在忙于进行一些重大更改,这使我感到困惑。去年我安装Visual Studio 2017并去创建一个新项目时,ASP.NET Core首次引起了我的注意,突然选择了.NET Framework,.NET Standard和.NET Core。因此,我仔细研究了一下它们,发现后两者在某种程度上是完整框架的缩写版本。我阅读了Scott Hanselman的这篇文章 ASP.NET 5已死-引入ASP.NET Core 1.0和.NET Core 1.0 我也发现了这一点,这使我远离了ASP.NET Core:在ASP.NET和ASP.NET Core之间进行选择。我的观点是 Core是新的,您可以继续使用完整的框架。因此,我使用.NET Framework 4.6.2和Microsoft.AspNet.Mvc 5.2.3创建了一个新的ASP.NET MVC网站。

I've been keeping my head down working on various projects and apparently Microsoft has been busy making some big changes and it's confusing the hell out of me. ASP.NET Core first came onto my radar when I installed Visual Studio 2017 last year and went to create a new project and suddenly had choices of .NET Framework, .NET Standard, and .NET Core. So I looked into them a little and saw that the latter two are, in some way, abbreviated versions of the full framework. I read this post by Scott Hanselman ASP.NET 5 is dead - Introducing ASP.NET Core 1.0 and .NET Core 1.0 I also found this, which steered me away from ASP.NET Core: Choose between ASP.NET and ASP.NET Core. My takeaway was "Core is new, you're fine to keep using the full framework." So I created a new ASP.NET MVC site using .NET Framework 4.6.2 and Microsoft.AspNet.Mvc 5.2.3.

自创建该项目以来,我发现MVC和Entity Framework中似乎都存在一些错误,只是发现在Web上唯一提及它们的地方似乎是Core

Since creating that project, I found what seemed like some bugs in both MVC and Entity Framework only to find that the only mention of them on the web seems to be in Core and that's the only place they're being considered being fixed.

现在,我现在正在尝试查找System.Web.Mvc.Controller和System.Web.Mvc.JsonResult,除了核心文档中的内容外,均已消失。我终于将它挖掘了在这里表示不再被维护?

Now, today, I'm trying to look up the documentation on System.Web.Mvc.Controller and System.Web.Mvc.JsonResult and it's gone except under Core documentation. I did finally dig it up here where it says it's no longer being maintained?

我理解说,好吧,我为什么要关心?我将继续做我正在做的事情,并在完成后再检查一下。但是现在看来,甚至不再支持4.6.2。有人可以解释发生了什么吗?我的NET 4.6.2 / MVC 5.2.3项目现在已经过时了吗?如果不是,为什么将这些文档退休并隐藏起来?我担心我的某些依赖项可能甚至无法用于Core或与Core兼容。

I understood this much about Core and said, "ok, why should I care? I'm going to keep doing what I'm doing and check back on that when it's done." But now it seems that 4.6.2 is not even supported anymore. Can someone explain what's going on? Is my NET 4.6.2/MVC 5.2.3 project now obsolete before I'm even finished writing it? If not, why has the documentation been retired and hidden away? I'm worried some of my dependencies might not even be available for or compatible with Core.

推荐答案

此答案会在发布新的.NET公告时定期进行更新,并且已更新了ASP.NET Core 3.0,.NET 3和.NET 5的详细信息

过去三年来,Microsoft需要对.NET Core / DNX,ASP.NET Core,.NET Standard,.NET 5和其他方面的混乱状况给予良好的掌声。

Microsoft needs a good slapping for the amount of confusion over the past 3 years over .NET Core / DNX, ASP.NET Core, .NET Standard, .NET 5 and the rest.

(我是说,作为DevDiv中的前FTE SE ... (来自16号楼的嗨!)

(and I'm saying that as a former FTE SE in DevDiv... ("hi from building 16!"))

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