Objective
. Although Netcore can cross the platform, but I am accustomed to Microsoft's win platform under the wave ... in writing well. Netcore's webapi found that the deployment approach changed because
Because now. Netcore is a self-hosted approach that requires the installation of other dependent environments on the server, as well as the need to deploy it in IIS. Netcore also requires the operating system to be Win7
or later, the server system requires a WINDOWSSERVER2008R2 and a later version;
Deployment steps
1, install IIS (skip);
2, installation. Netcore winwows Server Hosting. : Https://www.microsoft.com/net/download/windows
such as
Select the platform to download is windows;
Need to restart the computer after installation;
3. IIS Configuration site:
Add the that you want to publish. Netcore site to IIS, set the application pool for the site to "unmanaged code", such as:
4. Testing
Right-click the IIS site, select "Manage Web site" → "Browse", and complement the corresponding routing address, done, such as:
. Netcore Deploying to IIS