Top Reasons to Look at .NET Core

Part I

Today in this blog topic we discuss about the reasons for which we should look into .NET core in the present time. Version 1.0.1 of the .NET Core got released on September 13th 2016. After a close watch, the framework some chose to put it aside, but others actively included it in their projects. If you haven’t taken a look at .NET Core yet, here are the top reasons that might tempt you. In this blog topic we included 5 reasons and we shall continue with the rest in the second part of the article.

1. Modularity

.NET Core has a strong focus on modularity and that is a strong reason why you should give it a chance. To mention products built with .NET Core are comparatively more lean than their full framework counterparts. Another fact is that .NET Core’s code base is separated into smaller assemblies, and each each focus only on their intended usage. It is easy to include only the pieces of the framework that is required for your product. Hence you can customise your usage of .NET core.

To put in simple words, it is much easier to use pieces of the framework you might require to enhance the functionality of your current project, even if that product is running on the full .NET framework. E.g. ASP.NET Core, you migh find a small assembly in the Microsoft.AspNetCore namespace that can prove significant for your ASP.NET 4.6 application.

2. Cross Platform

Do you want to build an ASP.NET Core application, but would like to run it Linux? Well, .NET Core would come to your rescue even if you are developing on Windows using Visual Studio. .Net Core documentation includes versions of Ubuntu, CentOS, OS X, and more.

3. .NET Core Doesn’t Support WPF or WinForms. So What Next?

The sole answer to this is Universal Windows Platform (UWP) and it comes with a few bonuses. The first of all is that you can run UWP applications on any device in the Windows family. When UWP first initiated, it allowed you to develop applications for Windows 10 Desktop and Mobile; since then, Xbox, Windows 1, and Holographic have been added to that list. It is also worth mentioning that UWP apps, when set to release, are set by default to be optimised and compiled allowing increased performance.

4. ASP.NET Core

ASP.NET Core represents a very easy solution and is designed to run efficiently in cloud-based environments, while maintaining the flexibility. The configuration system for ASP.NET Core enables a variety of options, like taking in data from XML, JSON or INI files; in-memory sources; environment variables and more. Even you will find that unified Middleware Components have replaced the HTTP Handlers and Modules and making it easily configurable.

5. ASP.NET Core MVC

This is not to be understood as a replacement for full ASP.NET MVC but it is newly constructed from the group and is optimized for use with ASP.NET Core. You’ll find some familiar features like Razor; but there are new attributes too that will make your life easier as a developer. For instance, you no longer have to derive your controllers from different classes for Views and WebAPI. You can obtain both of the controllers from the abstract class Controller.

For E.g.

[Route(“api/[controller]”)]

public class DataController : Controller

{

public SomeData GetData()

{

return new SomeData() { Data = “Hello!” };

}

}

We conclude this part here to continue with the next in our upcoming blog.

If you want to improve your skill in ASP.Net and excel yourself in ASP.NET training program; our institute, CRB Tech Solutions would be of great help and for you. Come join us with our well structured program for .Net.

Stay connected to CRB Tech for more technical optimization and other updates and information.

Don't be shellfish...Buffer this pageEmail this to someoneDigg thisShare on FacebookShare on Google+Share on LinkedInPrint this pageShare on RedditPin on PinterestShare on StumbleUponTweet about this on TwitterShare on Tumblr

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>