.NET Core 托管捆绑包 [英] .NET Core Hosting Bundle

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

问题描述

据我了解 文档.NET Core Hosting Bundle 安装 .NET Core Runtimecode>、.NET Core 库ASP.NET Core 模块.

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 Runtime 都有一个 Bundle(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 core 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?

推荐答案

ASP.NET Core Module for IIS (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 core 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 服务.要么暴露在公共互联网上(从 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天全站免登陆