ASP.NET Web 应用程序 (.NET Framework) 与 ASP.NET Core Web 应用程序 (.NET Framework) 之间的差异 [英] Differences between ASP.NET Web Application (.NET Framework) vs ASP.NET Core Web Application (.NET Framework)

查看:69
本文介绍了ASP.NET Web 应用程序 (.NET Framework) 与 ASP.NET Core Web 应用程序 (.NET Framework) 之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我应该选择 ASP.NET Web Application (.NET Framework) 而不是 ASP.NET Core Web Application (.NET Framework)?

我说的是下面选项中的选项 1 和选项 3,有什么区别?

我看到了下面的问题,但我还是不明白选项1和选项3的区别是什么:

Why should I choose ASP.NET Web Application (.NET Framework) instead of ASP.NET Core Web Application (.NET Framework)?

I'm talking about options 1 and 3 in the options below, what will be the difference?

I saw the following question, but I still don't understand what is the difference between option 1 and 3: Visual Studio 2015 Web Application .NET Core vs .NET Framework

解决方案

  • Option 1 - ASP.NET Web Application
  • Option 3 - ASP.NET Core Web Application

Although both project templates use Full .Net Framework, Option 1 is for creating projects using legacy version of ASP.NET MVC in which we can use Global.asax.

Option 3 is totally new concept in which wwwroot folder, using task runners and everything is through OWIN middleware.

A lot of organization and companies are not ready to jump into new project template yet. I believe Option 1 is there for backward compatibility.

这篇关于ASP.NET Web 应用程序 (.NET Framework) 与 ASP.NET Core Web 应用程序 (.NET Framework) 之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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