Directory:
- Support Operating System
- IIS Configuration
- Installation. Network core Windows Server managed packages
- deploying applications
- In the IIS configuration Web site
- Create a Data Protection registry key
- Common Mistakes
- Additional Resources
Support Operating System
The following operating systems are supported:
- Windows 7 and later
- Windows Server version R2 and above
IIS Configuration
Enable the Web server (IIS) Server role to establish the role service.
Windows desktop Operating system
Go to Control Panel > Programs > Programs and Features > Turn Windows features on or off . Open Internet Information Services, open Web Administration Tools and World Wide Web Services in IIS.
Windows Server operating system
Server operating system, use the Add Roles and Features Wizard to turn on the IIS features of the server.
In the role Services Step, select the IIS service role you want or accept the default role service.
Continue to enable Web server roles and services by confirming the steps.
To install a. NET Core Windows Server Managed Package
- Installing on the server. NET Core Windows Server Hosting。 It installs the. NET Core Runtime,. NET CoreRun Library,ASP. NET Core module, which can create a response agent between IIS and Kestrel servers。
- Execute the iisreset command or restart the IIS service.
deploying applications
- On the IIS server, create a. NET Core publishing folder that contains the published project files.
- Create a logs   folder to save the application log (provided logging is enabled). You can skip this step if you don't log logs.
- Deploy the application to a folder created on the destination IIS server. For information about using Web deployment, see Publishing with IIS Web Deployment using Visual Studio.
Warning
The. NET Core application hosts a reverse proxy between IIS and the Kestrel server. If you are creating a reverse proxy, the Web. config configuration file must have a root directory for the deployment path.
In the IIS configuration Web site
- In IIS Manager , create a new Web site. Fill in the site name and set the physical path folder. Set the bindings , and then create the Web site.
- Set the application pool for this web site without managed code . ASP. NET core runs in a separate process.
Open the Add Web site window.
Configure the Web site.
In the application pool Panel, open the Edit application Pool window, right-click and select Basic Settings .
Settings . The NET CLR version is unmanaged code .
Browse the site.
Publish. NET Core to IIS