Top Reasons to Look at .NET Core

Part II

Today we shall continue the same discussion and conclude what we started a few days back. If you haven’t taken a look at .NET Core yet, in this blog topic we have been discussing the top reasons that might allure you. In this blog post we included next 5 reasons that need to be mentioned:

6. Migrating to .NET Core

If you took a look at .NET Core in its beginning days, you must have found yourself noticing there were some obstacles to jump to migrate some .NET Framework code to .NET Core. But since then things have been changing and developers are in a constant process of taking to a direction which would bring the two frameworks closer together, and removes many of the challenges you might face. This effort has led to which you know as the .NET Standard Library, that supports a few key scenarios.

7. .NET Core Runtime (CoreCLR)

The CoreCLR represents the complete .NET Core runtime implementation and has several components. The .NET GC and Native Interop is one, but if you can also pick with the RyuJIT. It took years in it’s making, the RyuJIT was included in .NET 4.6 for x64 in 2015. It’s not only faster at generating codes, but also produce code that is either good or better than the x64 JIT.

8. Kestrel HTTP Server

Kestrel is a built-in HTTP server implementation which is shipped with ASP.NET Core. This comes as an additional option while deploying ASP.NET applications, hence allowing you to remove IIS from your stack. If you begin a new ASP.NET Core application from the templates given by Visual Studio, with latest .NET Core tools installed; you will notice the following code in your program.cs…

public static void Main(string[] args)

{

var host = new WebHostBuilder()

.UseKestrel()

.UseContentRoot(Directory.GetCurrentDirectory())

.UseIISIntegration()

.UseStartup<Startup>()

.Build();

host.Run();

}

If you miss the line UseKestrel(), add this as above and you are ready to go.

9. Microservices

If you want to build a system organised into Microservices, and equipped with that we’ve covered in this blog post, .NET Core could come up as a framework for you. Since the release of .NET Core, you’ll also find that there is an increase in the Azure support for the framework. Hence you can give this try.

10. Command Line Development

Do you have a special liking in development using command line interface tools, or working on a platform from which you can’t run the Visual Studio IDE? If yes, then .NET Core had CLI tools in mind during its development. Follow the given steps to get you started…

Install .NET Core.

Next open a command window, navigate to your choice of directory and type….

Dotnet new

Take a look in the directory, and you’ll find a very simple console application which is ready for development.

Version 1.0.1 of the .NET Core was released on September 13th 2016. The framework has been in close watch by many; some chose to ignore it and waited for it to become more mature, while others took a chance and included it in their current projects.

We conclude now, please refer our previous blogs to read the first part of it. Hope you liked the discussion. Please let us know your opinion in the comment section below.

If you want to enhance your skill in ASP.Net and make improvements in your coding skills, then the ASP.NET training program by 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>