.NET Core主机捆绑包 [英] .NET Core Hosting Bundle

查看:315
本文介绍了.NET Core主机捆绑包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我了解,文档 .NET Core托管捆绑包将安装。 NET核心运行时 .NET核心库 ASP.NET核心模块

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.

似乎每个。NET Core运行时 2.0.6 2.0.7 ,... )。

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

如果我的应用程序具有独立部署,则仍需要ASP.NET Core模块。但是,我看不到没有完整的捆绑包可以单独下载该模块。

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 ?

如果没有:

拥有自我的意义何在?包含的应用程序,是否仍然需要在IIS服务器上安装整个.net核心sdk / runtime捆绑包?

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?

推荐答案

虽然可以安装IIS的ASP.NET核心模块( ANCM),但没有官方下载通过使用 OPT_INSTALL_LTS_REDIST = 0 OPT_INSTALL_FTS_REDIST = 0 作为参数调用托管捆绑安装程序(至少对于1.0-2.0安装)。

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).


拥有一个自包含应用程序有什么意义,如果我仍然
需要在IIS
服务器上安装整个.net核心sdk / runtime软件包?

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?

除了只能安装ANCM的安装程序外,别忘了IIS不是ASP.NET Core应用程序的唯一托管选项。人们仍然可以选择将其托管在Linux上或作为Windows服务。暴露于公共Internet(2.0+支持)或NGINX / Apache /…之后……

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/…

部署预览版,每日版或自定义版也非常有用.NET Core / ASP.NET Core中的任何组件(如果需要)。

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

这篇关于.NET Core主机捆绑包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆