Hosting bundle installer + SDK/runtime links update (#5710)
parent
05eb09a6cf
commit
b4816ac7a3
|
@ -65,7 +65,7 @@ To work with SpaServices, install the following:
|
|||
|
||||
Note: If you're deploying to an Azure web site, you don't need to do anything here — Node.js is installed and available in the server environments.
|
||||
|
||||
* [.NET Core SDK](https://www.microsoft.com/net/download/core) 1.0 (or later)
|
||||
* [.NET Core SDK](https://www.microsoft.com/net/download/all) 1.0 (or later)
|
||||
* If you're on Windows, this can be installed by selecting Visual Studio 2017's **.NET Core cross-platform development** workload.
|
||||
|
||||
* [Microsoft.AspNetCore.SpaServices](https://www.nuget.org/packages/Microsoft.AspNetCore.SpaServices/) NuGet package
|
||||
|
|
|
@ -110,8 +110,8 @@ HTTP.sys is mature technology that protects against many types of attacks and pr
|
|||
|
||||
1. If the app is a [framework-dependent deployment](/dotnet/core/deploying/#framework-dependent-deployments-fdd), install .NET Core, .NET Framework, or both (if the app is a .NET Core app targeting the .NET Framework).
|
||||
|
||||
* **.NET Core** – If the app requires .NET Core, obtain and run the .NET Core installer from [.NET Downloads](https://www.microsoft.com/net/download/windows).
|
||||
* **.NET Framework** – If the app requires .NET Framework, see [.NET Framework: Installation guide](/dotnet/framework/install/) to find installation instructions. Install the required .NET Framework. The installer for the latest .NET Framework can be found at [.NET Downloads](https://www.microsoft.com/net/download/windows).
|
||||
* **.NET Core** – If the app requires .NET Core, obtain and run the .NET Core installer from [.NET All Downloads](https://www.microsoft.com/net/download/all).
|
||||
* **.NET Framework** – If the app requires .NET Framework, see [.NET Framework: Installation guide](/dotnet/framework/install/) to find installation instructions. Install the required .NET Framework. The installer for the latest .NET Framework can be found at [.NET All Downloads](https://www.microsoft.com/net/download/all).
|
||||
|
||||
1. Configure URLs and ports for the app.
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ See also [Use VSTS to Build and Publish to an Azure Web App with Continuous Depl
|
|||
This tutorial assumes the following software is installed:
|
||||
|
||||
* [Visual Studio](https://www.visualstudio.com)
|
||||
* [.NET Core SDK](https://www.microsoft.com/net/download/core) (runtime and tooling)
|
||||
* [.NET Core SDK](https://www.microsoft.com/net/download/all) (runtime and tooling)
|
||||
* [Git](https://git-scm.com/downloads) for Windows
|
||||
|
||||
## Create an ASP.NET Core web app
|
||||
|
|
|
@ -37,7 +37,7 @@ Compare the information to the following common errors. If a match is found, fol
|
|||
|
||||
Troubleshooting:
|
||||
|
||||
* If the system doesn't have Internet access while installing the server hosting bundle, this exception occurs when the installer is prevented from obtaining the *Microsoft Visual C++ 2015 Redistributable*. Obtain an installer from the [Microsoft Download Center](https://www.microsoft.com/download/details.aspx?id=53840). If the installer fails, the server may not receive the .NET Core runtime required to host a framework-dependent deployment (FDD). If hosting an FDD, confirm that the runtime is installed in Programs & Features. If needed, obtain a runtime installer from [.NET Downloads](https://www.microsoft.com/net/download/core). After installing the runtime, restart the system or restart IIS by executing **net stop was /y** followed by **net start w3svc** from a command prompt.
|
||||
* If the system doesn't have Internet access while installing the server hosting bundle, this exception occurs when the installer is prevented from obtaining the *Microsoft Visual C++ 2015 Redistributable*. Obtain an installer from the [Microsoft Download Center](https://www.microsoft.com/download/details.aspx?id=53840). If the installer fails, the server may not receive the .NET Core runtime required to host a framework-dependent deployment (FDD). If hosting an FDD, confirm that the runtime is installed in Programs & Features. If needed, obtain a runtime installer from [.NET All Downloads](https://www.microsoft.com/net/download/all). After installing the runtime, restart the system or restart IIS by executing **net stop was /y** followed by **net start w3svc** from a command prompt.
|
||||
|
||||
## OS upgrade removed the 32-bit ASP.NET Core Module
|
||||
|
||||
|
@ -133,7 +133,7 @@ Troubleshooting:
|
|||
|
||||
* An FDD may have been deployed and .NET Core installed without restarting IIS. Either restart the server or restart IIS by executing **net stop was /y** followed by **net start w3svc** from a command prompt.
|
||||
|
||||
* An FDD may have been deployed without installing the .NET Core runtime on the hosting system. If the .NET Core runtime hasn't been installed, run the **.NET Core Windows Server Hosting bundle installer** on the system. See [Install the .NET Core Windows Server Hosting bundle](xref:host-and-deploy/iis/index#install-the-net-core-windows-server-hosting-bundle). If attempting to install the .NET Core runtime on a system without an Internet connection, obtain the runtime from [.NET Downloads](https://www.microsoft.com/net/download/core) and run the hosting bundle installer to install the ASP.NET Core Module. Complete the installation by restarting the system or restarting IIS by executing **net stop was /y** followed by **net start w3svc** from a command prompt.
|
||||
* An FDD may have been deployed without installing the .NET Core runtime on the hosting system. If the .NET Core runtime hasn't been installed, run the **.NET Core Windows Server Hosting bundle installer** on the system. See [Install the .NET Core Windows Server Hosting bundle](xref:host-and-deploy/iis/index#install-the-net-core-windows-server-hosting-bundle). If attempting to install the .NET Core runtime on a system without an Internet connection, obtain the runtime from [.NET All Downloads](https://www.microsoft.com/net/download/all) and run the hosting bundle installer to install the ASP.NET Core Module. Complete the installation by restarting the system or restarting IIS by executing **net stop was /y** followed by **net start w3svc** from a command prompt.
|
||||
|
||||
* An FDD may have been deployed and the *Microsoft Visual C++ 2015 Redistributable (x64)* isn't installed on the system. Obtain an installer from the [Microsoft Download Center](https://www.microsoft.com/download/details.aspx?id=53840).
|
||||
|
||||
|
|
|
@ -162,7 +162,11 @@ Enable the **IIS Management Console** and **World Wide Web Services**.
|
|||
|
||||
## Install the .NET Core Windows Server Hosting bundle
|
||||
|
||||
1. Install the [.NET Core Windows Server Hosting bundle](https://aka.ms/dotnetcore-2-windowshosting) on the hosting system. The bundle installs the .NET Core Runtime, .NET Core Library, and the [ASP.NET Core Module](xref:fundamentals/servers/aspnet-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](https://www.microsoft.com/download/details.aspx?id=53840) before installing the .NET Core Windows Server Hosting bundle.
|
||||
1. 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](xref:fundamentals/servers/aspnet-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](https://www.microsoft.com/download/details.aspx?id=53840) before installing the .NET Core Windows Server Hosting bundle.
|
||||
|
||||
1. Navigate to the [.NET All Downloads page](https://www.microsoft.com/net/download/all).
|
||||
1. 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.
|
||||
1. On the .NET Core runtime download page under **Windows**, select the **Server Hosting Installer** link to download the *.NET Core Windows Server Hosting bundle*.
|
||||
|
||||
**Important!** If the hosting bundle is installed before IIS, the bundle installation must be repaired. Run the hosting bundle installer again after installing IIS.
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ To quickly verify if IIS is setup correctly, you can visit the URL `http://192.1
|
|||
|
||||
## Install the ASP.NET Core Module
|
||||
|
||||
The ASP.NET Core Module is an IIS 7.5+ module which is responsible for process management of ASP.NET Core HTTP listeners and to proxy requests to processes that it manages. At the moment, the process to install the ASP.NET Core Module for IIS is manual. Install the [.NET Core Windows Server Hosting bundle](https://aka.ms/dotnetcore-2-windowshosting) on a regular (not Nano) machine. After installing the bundle on a regular machine, copy the following files to the file share that we created earlier.
|
||||
The ASP.NET Core Module is an IIS 7.5+ module which is responsible for process management of ASP.NET Core HTTP listeners and to proxy requests to processes that it manages. At the moment, the process to install the ASP.NET Core Module for IIS is manual. Install the [.NET Core Windows Server Hosting bundle](xref:host-and-deploy/iis/index#install-the-net-core-windows-server-hosting-bundle) on a regular (not Nano) machine. After installing the bundle on a regular machine, copy the following files to the file share that we created earlier.
|
||||
|
||||
On a regular (not Nano) server with IIS, run the following copy commands:
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ In this tutorial, you learn how to:
|
|||
To complete this tutorial, you'll need:
|
||||
|
||||
* A [Microsoft Azure subscription](https://azure.microsoft.com/free/)
|
||||
* [.NET Core](https://www.microsoft.com/net/download/core)
|
||||
* [.NET Core](https://www.microsoft.com/net/download/all)
|
||||
* [Git](https://www.git-scm.com/) command line client
|
||||
|
||||
## Create a web application
|
||||
|
|
Loading…
Reference in New Issue