Introduction
ASP.NET Core 1.0 is not a continuation of ASP.NET 4.6. It is a whole new framework, a side-by-side project which happily lives alongsideย everything else we know. It is an actual re-write of the current ASP.NET 4.6 framework, but much smaller and a lot much more modular.ย There is no System. Web namespace anymore and everything which came with it.
It is the framework you want to use for web development with .NET. ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-based, Internet-connected applications. If you have any experience with MVC or Web API over the last few years, you will notice some familiar features. ASP.NET Core 1.0 is a 1.0 release that includes Web API and MVC but doesnโt have SignalR or Web Pages.ย It doesnโt yet support VB or F#.
If you have any experience with MVC or Web API over the last few years, you will notice some familiar features.This sequence of tutorials, will help you write anย application using ASP.NET Core that can create, edit, and view data from a database.
Advantages of ASP.NET Core
Open Source:
ASP.NET Core is open source and available on GitHub,Which help to reduce the cost of hosting.NET application.
Platform Independent (Cross Platform Support):
ASP.NET Core 1.0 is a big fundamental change to the ASP.NET landscape and it is open source.ย ASP.NET Core is supported on Windows, Mac and Linux OSX
Built from scratch:
ASP.NET Core is not like an enhancement to ASP.NET 4.5 but it has been built from scratch.ย A lot of new features have been added to it and some of the existing features has been dropped also. To support Cross Platform and improve performance some existing features have been removed.
Modular Web Framework:
Asp.Net core everything is managed using nugget package, so itโs easy to upgrade new framework without releasing new .net framework version. In ASP.NET Core, a community can just release new NuGet package version and you will get latest changes by updating your packages.ย The .NET developer has the ability to pick and choose which ASP.NET features to include in their solutions.ย This opt-in model allows developers to be more deliberate with regard to which libraries are included in their projects
Dependency Injection:
Dependency injection is integrated into the framework for achieving loose coupling between objects and their collaborators.Third party products such as Autofac should still be available as an alternative to the build-in ASP.NET DI functionality.
Combination of MVC and WEB.API
In previous versions of ASP.NET, MVC and WEB.API were based on different versions of the framework ie., System.Web.Mvc and System.Web.Http/System.Net.Http, respectively. This has been removed and its been integrated with ASP.NET CORE 1.0 MVC 6. There is now a single set of objects within a single namespace (Microsoft.AspNet.Mvc). This standardized approach simplifies developing both MVC and WEB.API endpoints.
What do you think?
I hope you have basic about ASP .NET Core and its advantage . I would like to have feedback from my posts readers. Your valuable feedback, question, or comments about this article are always welcome.
A long text to say… Nothing.