Visual Studio 2015 Web Application .NET Core vs .NET Framework

后端 未结 2 766
Happy的楠姐
Happy的楠姐 2020-12-15 17:11

In Visual Studio Enterprise 2015 (v14.0.25123.00 Update 2) when I go to:

Start > New Project

With Target Framework 4.5 or higher selected...

Under:<

相关标签:
2条回答
  • 2020-12-15 18:15

    From what I've been able to gather, if I were developing an Web Application that were to be hosted on a linux or mac server and I wanted to access the .NET library, I would want use the .NET version Core. And the other is if it's being hosted in a Windows environment with full .NET library available? Is that right?

    Yes, pretty much. Some things I would add:

    • .Net Core might make sense even if you're developing for Windows only
    • .Net Core is currently at Release Candidate 2, meaning it hasn't been fully released yet

    This appears to be the old version of ASP.NET/MVC that will be phased out as ASP.NET Core Matures?

    I don't think "phased out" is the right term to use. I'm not sure what MS plans to do with ASP.NET 4, but I would expect it to get into a similar situation as Winforms and WPF are in today: you can still use them and they are still supported, but pretty much frozen when it comes to new features.

    0 讨论(0)
  • 2020-12-15 18:18

    There is .Net Core and .Net Framework. .Net Framework only works in windows environment while .Net Core is an open source framework that runs on windows, linux and ios. .Net Core offers essential functionalities (everything you need, including database communication) for web applications, while .Net Framework contains functionalities that tie with windows.

    ASP.NET Web Application works on .Net Framework 4.6.1 and older, while ASP.NET core Web Application works on .Net Core and/or .Net Framework 5, which is why there are 2 ASP.NET core web applications.

    If your aim is cross platform, or not sure, then start with the .NET core version. If your aim is on MS OS, then use .Net Framework version.

    The only difference is the reference within the project, the rest is identical.

    0 讨论(0)
提交回复
热议问题