. Netcore Deploying to IIS

Source: Internet
Author: User
Tags server hosting
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.