.NET Core SDK vs Runtime vs Hosting Bundle

.NET Core SDK vs Runtime vs Hosting Bundle

.NET Core SDK vs Runtime vs Hosting Bundle

Before you understand the difference between .NET Core SDK vs Runtime vs Hosting Bundle, you need to know about the .NET Core.

What is .NET Core?

.NET Core is an Open Source software development framework used to create, build, and run the cross-platform supported .NET Core application. This .NET Core application can be a Web application, Web API, Console Application, Desktop Applications.

Microsoft has recently released .NET 6. Check out this article to know about the .NET 6 What’s New.

What is SDK?

This is Software Development Kit as the name suggests, you need to install this software when you want to create/develop the .NET Core application.

This SDK pack includes everything required to create, build, and run the .NET Core application. You can use a command-line interface, or any other IDE like Visual Studio to create, build and run the .NET Core applications. So, you must install the .NET Core SDK installer in your system to work on the .NET Core application.

Note: If you install .NET Core SDK, this includes runtime components too. So, no need to install the Runtime packages separately.

SDK includes everything one who required in .NET Core application development.

What is Runtime Installer?

The runtime installer only includes everything required to run the .NET Core applications.

Runtime installer only installs the things which allow running the .NET Core application.

There are two Runtime Installers available,

  1.  ASP.NET Core Runtime – This Installer installs the components to run.NET Core web applications.
  2. .NET Core Runtime – This Installer installs the components to run .NET Core console applications.

Note: Runtime installer specific to particular platform. So, this will install only platform specific components to run the Core application.

Installer size will be less, hence it’s only installing runtime components specific to the platform.

There is another option called Hosting Bundle.  

What is Hosting Bundle?

As the name suggests, Hosting Bundle includes IIS Support and .NET Core Runtime. This only applies to Windows OS now.              

Note: .NET Core team recommends, to install Hosting Bundle instead of Runtime Installers.

So, if you are a .NET Core developer, SDK will be the preferred installer which includes everything that the developer required from creating to publishing the applications.

Hosting Bundle can be installed on the server (Windows Server with IIS deploy) where your application will be hosted and production use.

You can download the latest version of the .NET Core SDK, from the .NET Official site.

https://dotnet.microsoft.com/download/dotnet-core/3.1

3.1 is the latest version of NET Core.

On the download page, you can find the different types(.NET Core SDK vs Runtime vs Hosting Bundle) of available installers based on version.

To check about the installed details about .NET Core in your system, use the following command using Command Prompt or Windows PowerShell

dotnet --info
.NET Info
.NET Info

So, as you see I have already installed .NET Core SDK on my machine, it includes .NET Core SDK and .NET Core Runtime.

Conclusion:

So here I am summarizing the difference between .NET Core SDK vs Runtime vs Hosting Bundle.

.NET Core SDK has included everything which requires for core developers. No need to install the components for particular functions separately. So, in the development machine, it is preferred to install .NET Core SDK.

Runtime Installer only has components required to run the applications, so it will be installed in Server where you host the applications. But Hosting Bundle for Windows is recommended on the Server machine, which allows running/hosting the application with IIS Supporting components. In Runtime Installer, you need to set up and install IIS Supporting components separately.

He is a product manager at a reputed software company and a freelance blog writer. He is experienced in different technologies, web securities, and web applications. He keeps learning and make himself up to date on the latest technologies, news, health, and fitness. This encouraged him to share his experiences by writing articles.

One thought on “.NET Core SDK vs Runtime vs Hosting Bundle

  1. Hey! I know this is kind of off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having trouble finding one? Thanks a lot!

Leave a Reply

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

Back To Top
%d bloggers like this: