Top 10 .Net Core Features You need to know

.Net Core is a lightweight and cross-platform version of the DotNet framework and the awesome thing is Developers required the same expertise to work with Asp.Net Core as .Net Framework.

With Every Update, new features are added that help developers deploy high-performance & highly scalable web applications using less Code.

Are you a Web Developer or want to Develop an app for Desktop or Mobile, If you are a Game Developer or want to work on Machine Learning, DotNet Core is here for you.

Yes, all these kind of applications can be developed using .Net Core.

Here’s the top .Net Core Features you need to know:

Performance

Actually, I agree with them who say that performance is one of the critical features of any application. Even in Web Applications, servers with huge resources are available but still, you need to have your application using minimum resources to perform maximum tasks.

Application Performance also depends on how you Code your application but we cannot ignore the Framework Architecture in Performace factor. With the introduction of Asp.net Core and the Kestrel web server, It becomes one of the fastest web application frameworks available.

asp.net core performance

Cross-platform & Container Support

Mac & Linux users waited so long & after .Net Core launch you can Develop using Microsoft Technologies using on Mac & Linux as well.


On the other hand, Containers are eating Cloud. DotNet Core allows Developers to use all these new Containers Technologies e.g. Docker, Kuberenetes, and others.

Single Programming Model for MVC and Web API

In MVC 5, controllers inherit from the System.Web.Mvc.Controller base class to serve over HTTP requests whereas Web API 2 controllers inherit from System.Web.Http.ApiController for creating RESTful Web services using JSON & XML.

With ASP.NET Core, MVC and Web API have been merged together. This move was really appreciated by Developers because It made the development simpler.

Dependency Injection

Built-in Dependency Injection is one of the most awesome features of .Net Core.

It is the preferred way for logging contexts, database contexts, and other things passed into your MVC controllers.

SPA Template

Asp.Net Core comes with latest Angular & React SPA Templates. When we create a project using SPA template then all packages required for Angular & React will be installed automatically using NPM.

It also supports Angular CLI that makes developers life easier.

wwwroot Folder for Static Files

In Asp.Net Framework developers create folders for Static Files(Images, CSS, Scripts) with names according to their choices. In Asp.Net Core there’s a default folder as “wwwroot” for all your static files.

wwwroot folder

Tag Helpers

Tags Helpers Introduced in Asp.net Core to create forms using HTML rapidly.

Here’s some example Code

tag_helpers

Some Top Features From .Net Framework

Here are some great features which have been developers favorites in .Net era.

Output Caching

Asp.Net Core also supports Output Cashing, which means application generate cache for the most commonly used resources and static files. Next time when a user opens an application, he first gets served by the cache. This really improves the speed and user experience of a web application.

Action Filters

Action Filters are also supported in .Net Core. Filters are used for Caching, Authorization, Error Handling & for any other Custom Login.

action filter

Swagger OpenAPI

Swagger is a 3rd Party Library. It was also available for ASP.NET Framework. It is used to automatically generate Documentation for API. It makes easier for API developers to expose documentation for Front-End Developer.

swaggerui

Conclusion

.Net Core is one of the Top Framework for almost all kind of Applications, for any Device or any size of Application. Microsoft & the Community have done a lot of hard work to make .Net Core a competitive Framework in the Market to help Developers rapidly develop powerful applications with best performance & scalability. The Great thing was that .Net Framework Developers doesn’t require any new knowledge for working on .Net Core. That was also one of the reason that .Net Core was adopted by the Developers in a very short time period.

Here are some of the great Articles for .Net Core Developers:

– Creating Admin Panel in Asp.net Core MVC – Step by Step Tutorial

– Setting up Admin Template in Asp.net Core MVC

– Dynamic Role-Based Authorization Asp.net Core

2 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here