ASP.NET Web应用程序(.NET Framework)与ASP.NET Core Web应用程序(.NET Framework) [英] ASP.NET Web Application (.NET Framework) vs ASP.NET Core Web Application (.NET Framework)

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

问题描述

为什么我应该选择 ASP.NET Web应用程序(.NET Framework)而不是 ASP.NET核心Web应用程序(.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 option 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天全站免登陆