Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Core Hosting Bundle

As far as I understood the Docs, the .NET Core Hosting Bundle installs the .NET Core Runtime, .NET Core Library and the ASP.NET Core Module.

It seems that there's a Bundle for every version of the .NET Core Runtime (2.0.6, 2.0.7, ...).

If I have a self contained deployment of my app, I still need the ASP.NET Core Module. However I don't see that the Module can be downloaded separately without the full bundle. Is there a place where I can download it ?

If not:

What's the point of having a self contained application, if I still need to install the whole .net core sdk/runtime bundle on my IIS Server?

like image 524
gsharp Avatar asked Apr 26 '18 10:04

gsharp


People also ask

What is .NET Core Windows server hosting bundle?

The . NET Core Hosting bundle is an installer for the . NET Core Runtime and the ASP.NET Core Module. The bundle allows ASP.NET Core apps to run with IIS.

How do I know if NET Core hosting bundle is installed?

You can search Microsoft . NET Core 1.1. 1 - Windows Server Hosting registry key under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Updates\. NET Core path like screenshot below.

Is .NET Core discontinued?

NET Core v. Next ,” as Microsoft describes it). That said, Microsoft will end long-term support for the most recent release of Core (3.1. 7) around December 2022 and has just announced that .

Are NET Core hosting bundle backward compatibility?

NET Core apps are built/published/restored, they target a major release and feature set as indicated by the major/minor version numbers found in the runtime name. So, netcoreapp2. 2 is backwards compatible with netcoreapp2. 1, which, in turn, is backwards-compatible with netcoreapp2.


1 Answers

There is no official download of the ASP.NET Core Module for IIS ("ANCM"), though it can be installed by calling the hosting bundle installer with OPT_INSTALL_LTS_REDIST=0 OPT_INSTALL_FTS_REDIST=0 as arguments (at least for 1.0-2.0 installs).

What's the point of having a self contained application, if I still need to install the whole .net core sdk/runtime bundle on my IIS Server?

Apart from the installer being able to install only ANCM, do not forget that IIS is not the only hosting option for ASP.NET Core Applications. People may still opt to host it on linux or as a Windows Service. Either being exposed to the public Internet (which is supported from 2.0+) or behind NGINX/Apache/…

It is also very useful to deploy preview, daily or custom builds of any component inside .NET Core / ASP.NET Core if needed.

like image 129
Martin Ullrich Avatar answered Sep 27 '22 19:09

Martin Ullrich