Now, I see there are two option when we create ASP.net core web application.
What I understand is the first one enables us to run it on any environment linux, mac, windows without having .net preinstalled.
For sure, I'm going to run my WebAPI only on Windows environment. In that case, which one I should choose? ASP.Net core Web Application with .Net Core or ASP.Net core Web Application with .Net Framework?
What is the benefit in choosing ASP.Net core Web Application with .Net Core when I'm planning to run only in Windows? I need to create new WebAPI. Dependencies is not an issue, this is going to be very simple basi web api, so i believe i can do in either of them without having any dependencies on some old component which is built on .Framework 4.6.*
Also, what is the difference between ASP.NET Core Web Application with .Net Framework and ASP.NET Web Application with .Net Framework?
NET Core is faster than . NET Framework because the architecture of . NET Core is written or restructured from scratch to make it a modular, lightweight, fast, and cross-platform Framework. The Applications require technologies like workflow, webforms or WCF that are not present in .
NET Core is a runtime. It can execute applications that are built for it. ASP.NET Core is a collection of libraries that form a Framework for building web applications. ASP.NET Core libraries can be used on both .
ASP.NET Core provides the following benefits: A unified story for building web UI and web APIs. Architected for testability. Razor Pages makes coding page-focused scenarios easier and more productive.
There are a few advantages when using .NET Core:
The biggest disadvantage is that some NuGet packages might not work (yet) on .NET Core. Based on what your app uses, that might be the ultimate decision factor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With