ASP.NET Core Features
ASP.NET 5 has been renamed to ASP.NET Core 1.0 and first version of NET Core 1.0 was released in June 2016. The latest version of ASP.NET Core 1.1 was released in Nov 2016.
Microsoft has made important changes with ASP.NET Core. Now, it is open source and available on GitHub. On GitHub, you can find everything about ASP.NET code and download it if you need
ASP.NET Core can run on any platform like Windows, Mac, or Linux. It means, if you create the ASP.NET Core application then it will run on any of these platforms without any issue. Earlier ASP.NET applications were not able to run on Linux and Mac operating system (we need Mono to run ASP.NET applications on Apache/Linux). However, ASP.NET 5 application supports a cross platform runtime, so you can easily run the application on Mac and Linux.
Inbuilt Dependency Injection:
Dependency Injection is supported by ASP.NET inbuilt. It supports DI by default. ASP.NET includes some built in container, which supports constructor injection, by default.
Cloud Ready Setup:
ASP.NET Core provides the fully cloud ready setup for publishing. It supports the cloud based environment based configuration.
Json Files for Configurations:
JSON files are more preferable than xml files in ASP.NET Core. Every configuration file and some startup files have been changed with JSON file in ASP.NET 5 like global.json, config.json, etc.
Wwwroot folder for Static Files:
Now wwwroot folder will contain all the static content of the application in ASP.NET Core like js files, css files, images as well.
Tag Helpers that makes Razor mark-up more natural with HTML.
Code Editor for Cross Platforms:
New code editor “Visual Studio Code” has been introduced to work on Mac and Linux.
Happy Coding 🙂