- Пакет размещения .NET Core The .NET Core Hosting Bundle
- Установка пакета размещения .NET Core Install the .NET Core Hosting Bundle
- Прямая загрузка (текущая версия) Direct download (current version)
- Требование к установке распространяемого компонента Visual C++ Visual C++ Redistributable Requirement
- Более ранние версии установщика Earlier versions of the installer
- Параметры Options
- Перезапустить IIS Restart IIS
- Версия модуля и журналы установщика хостинга Bundle Module version and Hosting Bundle installer logs
- The .NET Core Hosting Bundle
- Install the .NET Core Hosting Bundle
- Direct download (current version)
- Visual C++ Redistributable Requirement
- Earlier versions of the installer
- Options
- Restart IIS
- Module version and Hosting Bundle installer logs
- Where to download .NET Core Windows Server Hosting bundle ?? RSS
- 3 replies
- Shortcuts
- Related Links
- Where to download .NET Core Windows Server Hosting bundle ??
- Install the .NET Core Windows Server Hosting bundle
- Re: Where to download .NET Core Windows Server Hosting bundle ??
- Microsoft .NET Core — Windows Server Hosting «> Microsoft .NET Core — Windows Server Hosting 2.2.6 «>2.2.6
- This Package Contains an Exempted Check
- 1. Ensure you are set for organizational deployment
- 3. Enter your internal repository url
- 4. Choose your deployment method:
- 5. If applicable — Chocolatey configuration/installation
Пакет размещения .NET Core The .NET Core Hosting Bundle
Пакет размещения .NET Core — это установщик среды выполнения .NET Core и модуля ASP.NET Core. The .NET Core Hosting bundle is an installer for the .NET Core Runtime and the ASP.NET Core Module. Пакет позволяет запускать приложения ASP.NET Core в службах IIS. The bundle allows ASP.NET Core apps to run with IIS.
Установка пакета размещения .NET Core Install the .NET Core Hosting Bundle
Если пакет размещения устанавливается до установки служб IIS, его нужно восстановить. If the Hosting Bundle is installed before IIS, the bundle installation must be repaired. После установки служб IIS запустите установщик пакета размещения еще раз. Run the Hosting Bundle installer again after installing IIS.
Если пакет размещения устанавливается после установки 64-разрядной (x 64) версии .NET Core, пакеты SDK могут не отображаться (см. раздел Пакеты SDK .NET Core не обнаружены). If the Hosting Bundle is installed after installing the 64-bit (x64) version of .NET Core, SDKs might appear to be missing (No .NET Core SDKs were detected). Сведения об устранении проблемы см. в статье Устранение неполадок и отладка проектов ASP.NET Core. To resolve the problem, see Устранение неполадок и отладка проектов ASP.NET Core.
Критические изменения и рекомендации по безопасности отображаются в репозитории объявлений. Breaking changes and security advisories are reported on the Announcements repo. Объявления можно ограничить определенной версией, выбрав фильтр меток. Announcements can be limited to a specific version by selecting a Label filter.
Прямая загрузка (текущая версия) Direct download (current version)
Скачайте установщик по следующей ссылке: Download the installer using the following link:
Требование к установке распространяемого компонента Visual C++ Visual C++ Redistributable Requirement
В старых версиях Windows Server 2012 R2 установите распространяемый компонент Visual Studio C++ 2015, 2017 или 2019. On older versions of Windows, for example Windows Server 2012 R2, install the Visual Studio C++ 2015, 2017, 2019 Redistributable. Если этого не сделать, в журнале событий Windows будет появляться непонятная ошибка The data is the error. Otherwise, a confusing error message in the Windows Event Log reports that The data is the error.
Более ранние версии установщика Earlier versions of the installer
Получение более ранней версии установщика: To obtain an earlier version of the installer:
- Перейдите на страницу загрузки .NET Core. Navigate to the Download .NET Core page.
- Выберите требуемую версию .NET Core. Select the desired .NET Core version.
- В столбце Запуск приложений — среда выполнения найдите строку, содержащую нужную версию среды выполнения .NET Core. In the Run apps — Runtime column, find the row of the .NET Core runtime version desired.
- Скачайте установщик по ссылке Hosting Bundle (Пакет размещения). Download the installer using the Hosting Bundle link.
Некоторые установщики содержат версии выпусков, которые достигли конца своего жизненного цикла и больше не поддерживаются корпорацией Майкрософт. Some installers contain release versions that have reached their end of life (EOL) and are no longer supported by Microsoft. Дополнительные сведения см. в разделе Политика поддержки. For more information, see the support policy.
Параметры Options
При запуске установщика из командной оболочки администратора доступны следующие параметры: The following parameters are available when running the installer from an administrator command shell:
- OPT_NO_ANCM=1 . Пропуск установки модуля ASP.NET Core. OPT_NO_ANCM=1 : Skip installing the ASP.NET Core Module.
- OPT_NO_RUNTIME=1 . Пропуск установки среды выполнения .NET Core. OPT_NO_RUNTIME=1 : Skip installing the .NET Core runtime. Используется, когда на сервере размещаются только автономные развертывания. Used when the server only hosts self-contained deployments (SCD).
- OPT_NO_SHAREDFX=1 . Пропуск установки общей платформы ASP.NET (среды выполнения ASP.NET). OPT_NO_SHAREDFX=1 : Skip installing the ASP.NET Shared Framework (ASP.NET runtime). Используется, когда на сервере размещаются только автономные развертывания. Used when the server only hosts self-contained deployments (SCD).
- OPT_NO_X86=1 . Пропуск установки сред выполнения x86. OPT_NO_X86=1 : Skip installing x86 runtimes. Этот параметр следует использовать, если вы наверняка не будете размещать 32-разрядные приложения. Use this parameter when you know that you won’t be hosting 32-bit apps. Если есть хоть малейшая возможность, что в будущем придется размещать и 32-разрядные, и 64-разрядные приложения, не указывайте этот параметр и установите обе среды выполнения. If there’s any chance that you will host both 32-bit and 64-bit apps in the future, don’t use this parameter and install both runtimes.
- OPT_NO_SHARED_CONFIG_CHECK=1 . Отключение проверки использования общей конфигурации IIS, если файл общей конфигурации ( applicationHost.config ) находится на том же компьютере, что и установка IIS. OPT_NO_SHARED_CONFIG_CHECK=1 : Disable the check for using an IIS Shared Configuration when the shared configuration ( applicationHost.config ) is on the same machine as the IIS installation. Доступен только для пакетных установщиков размещения ASP.NET Core 2.2 или более поздней версии.Only available for ASP.NET Core 2.2 or later Hosting Bundler installers. Для получения дополнительной информации см. Модуль ASP.NET Core. For more information, see Модуль ASP.NET Core.
Сведения об общей конфигурации IIS см. в разделе Модуль ASP.NET Core с общей конфигурацией IIS. For information on IIS Shared Configuration, see ASP.NET Core Module with IIS Shared Configuration.
Перезапустить IIS Restart IIS
После установки пакета размещения может потребоваться установить службы IIS вручную. After the Hosting Bundle is installed, a manual IIS restart may be required. Например, инструментарий CLI (команда) dotnet может не существовать по пути PATH для выполнения рабочих процессов служб IIS. For example, the dotnet CLI tooling (command) might not exist on the PATH for running IIS worker processes.
Чтобы вручную остановить и запустить службы IIS, выполните следующие команды в командной строке с повышенными разрешениями: To manually stop and start IIS, execute the following commands in an elevated command shell:
Версия модуля и журналы установщика хостинга Bundle Module version and Hosting Bundle installer logs
Чтобы определить версию установщика модуля ASP.NET Core, выполните следующие действия. To determine the version of the installed ASP.NET Core Module:
- В системе размещения перейдите к папке %PROGRAMFILES%\IIS\Asp.Net Core Module\V2 . On the hosting system, navigate to %PROGRAMFILES%\IIS\Asp.Net Core Module\V2 .
- Найдите файл aspnetcorev2.dll . Locate the aspnetcorev2.dll file.
- Щелкните правой кнопкой мыши файл и выберите Свойства из контекстного меню. Right-click the file and select Properties from the contextual menu.
- Выберите вкладку Сведения. Версия файла и Версия продукта дают представление об установленной версии модуля. Select the Details tab. The File version and Product version represent the installed version of the module.
Журналы установщика пакета размещения для модуля находятся в папке C:\Users\%UserName%\AppData\Local\Temp . The Hosting Bundle installer logs for the module are found at C:\Users\%UserName%\AppData\Local\Temp . Файл имеет имя dd_DotNetCoreWinSvrHosting__
The .NET Core 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.
Install the .NET Core Hosting Bundle
If the Hosting Bundle is installed before IIS, the bundle installation must be repaired. Run the Hosting Bundle installer again after installing IIS.
If the Hosting Bundle is installed after installing the 64-bit (x64) version of .NET Core, SDKs might appear to be missing (No .NET Core SDKs were detected). To resolve the problem, see Troubleshoot and debug ASP.NET Core projects.
Breaking changes and security advisories are reported on the Announcements repo. Announcements can be limited to a specific version by selecting a Label filter.
Direct download (current version)
Download the installer using the following link:
Visual C++ Redistributable Requirement
On older versions of Windows, for example Windows Server 2012 R2, install the Visual Studio C++ 2015, 2017, 2019 Redistributable. Otherwise, a confusing error message in the Windows Event Log reports that The data is the error.
Earlier versions of the installer
To obtain an earlier version of the installer:
- Navigate to the Download .NET Core page.
- Select the desired .NET Core version.
- In the Run apps — Runtime column, find the row of the .NET Core runtime version desired.
- Download the installer using the Hosting Bundle link.
Some installers contain release versions that have reached their end of life (EOL) and are no longer supported by Microsoft. For more information, see the support policy.
Options
The following parameters are available when running the installer from an administrator command shell:
- OPT_NO_ANCM=1 : Skip installing the ASP.NET Core Module.
- OPT_NO_RUNTIME=1 : Skip installing the .NET Core runtime. Used when the server only hosts self-contained deployments (SCD).
- OPT_NO_SHAREDFX=1 : Skip installing the ASP.NET Shared Framework (ASP.NET runtime). Used when the server only hosts self-contained deployments (SCD).
- OPT_NO_X86=1 : Skip installing x86 runtimes. Use this parameter when you know that you won’t be hosting 32-bit apps. If there’s any chance that you will host both 32-bit and 64-bit apps in the future, don’t use this parameter and install both runtimes.
- OPT_NO_SHARED_CONFIG_CHECK=1 : Disable the check for using an IIS Shared Configuration when the shared configuration ( applicationHost.config ) is on the same machine as the IIS installation. Only available for ASP.NET Core 2.2 or later Hosting Bundler installers. For more information, see ASP.NET Core Module.
For information on IIS Shared Configuration, see ASP.NET Core Module with IIS Shared Configuration.
Restart IIS
After the Hosting Bundle is installed, a manual IIS restart may be required. For example, the dotnet CLI tooling (command) might not exist on the PATH for running IIS worker processes.
To manually stop and start IIS, execute the following commands in an elevated command shell:
Module version and Hosting Bundle installer logs
To determine the version of the installed ASP.NET Core Module:
- On the hosting system, navigate to %PROGRAMFILES%\IIS\Asp.Net Core Module\V2 .
- Locate the aspnetcorev2.dll file.
- Right-click the file and select Properties from the contextual menu.
- Select the Details tab. The File version and Product version represent the installed version of the module.
The Hosting Bundle installer logs for the module are found at C:\Users\%UserName%\AppData\Local\Temp . The file is named dd_DotNetCoreWinSvrHosting__
Where to download .NET Core Windows Server Hosting bundle ?? RSS
3 replies
Shortcuts
Related Links
Where to download .NET Core Windows Server Hosting bundle ??
Mar 22, 2018 02:19 PM | ganeshmuthuvelu | LINK
It says the following.. but I cannot find the NET Core Windows Server Hosting bundle.
Can someone help? Thanks!
Install the .NET Core Windows Server Hosting bundle
Install the .NET Core Windows Server Hosting bundle on the hosting system. The bundle installs the .NET Core Runtime, .NET Core Library, and the ASP.NET Core Module. The module creates the reverse proxy between IIS and the Kestrel server. If the system doesn’t have an Internet connection, obtain and install the Microsoft Visual C++ 2015 Redistributable before installing the .NET Core Windows Server Hosting bundle.
- Navigate to the .NET All Downloads page.
- Select the latest non-preview .NET Core runtime from the list (.NET Core >Runtime >.NET Core Runtime x.y.z). Unless you intend to work with preview software, avoid runtimes that have the word «preview» in their link text.
- On the .NET Core runtime download page under Windows, select the Server Hosting Installer link to download the .NET Core Windows Server Hosting bundle.
Re: Where to download .NET Core Windows Server Hosting bundle ??
Mar 22, 2018 03:42 PM | bruce (sqlwork.com) | LINK
what runtime version did you pick? if you pick 2.0.6 (latest) its right there under Windows:
Microsoft .NET Core — Windows Server Hosting «> Microsoft .NET Core — Windows Server Hosting 2.2.6 «>2.2.6
This is not the latest version of Microsoft .NET Core — Windows Server Hosting available.
This Package Contains an Exempted Check
1 Test Passing and 1 Exempted Test
Validation Testing Passed
Verification Testing Exempt:
Requires IIS (Internet Information Services) to be installed
To install Microsoft .NET Core — Windows Server Hosting, run the following command from the command line or from PowerShell:
To upgrade Microsoft .NET Core — Windows Server Hosting, run the following command from the command line or from PowerShell:
To uninstall Microsoft .NET Core — Windows Server Hosting, run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
- Open Source
- Download the Package Download
- Follow manual internalization instructions
- Package Internalizer (C4B)
- Run choco download dotnetcore-windowshosting —internalize —version=2.2.6 —source=https://community.chocolatey.org/api/v2 (additional options)
- Run choco push —source=»‘http://internal/odata/repo'» for package and dependencies
- Automate package internalization
3. Enter your internal repository url
4. Choose your deployment method:
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
5. If applicable — Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more.
This package was approved as a trusted package on 09 Jul 2019.
.NET Core is a general purpose development platform maintained by Microsoft and the .NET community on GitHub. It is cross-platform, supporting Windows, macOS and Linux, and can be used in device, cloud, and embedded/IoT scenarios.
This package installs the ASP.NET Core Module for IIS, enabling running of ASP.NET Core applications. IIS must be enabled prior to installing this package. ASP.NET Core does not use any managed IIS modules, so no ASP.NET IIS features need to be enabled.
The native installer is instructed to skip installing the .NET Core Runtime ( OPT_INSTALL_LTS_REDIST=0 OPT_INSTALL_FTS_REDIST=0 ). The package dotnetcore-runtime should be used to install the runtime when hosting «portable» ASP.NET Core applications (which use the machine-wide runtime). Hosting of «self-contained» ASP.NET Core applications does not require the runtime to be installed, because those applications include the desired runtime as part of their binaries.
The package supports the following parameters (—package-parameters, —params):
- Quiet — suppress display of native installer progress window (may be needed on Server Core)
- IgnoreMissingIIS — allow package installation even if IIS is not present (probably useless, as the native installer will not install anything)
Example: cinst -y —params=»Quiet IgnoreMissingIIS» dotnetcore-windowshosting
Log in or click on link to see number of positives.
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.