ASP. NET core deployment to Windows IIS

Source: Internet
Author: User

There are many ASP. NET core on the Widows IIS deployment of the article, in the deployment to the server encountered some problems, here I no longer explain the principle (copy), just write down some key links, want to see the principle of the students please refer to the official website , this article as retained.

Steps:

1. ASP. NET core in-app configuration

2. Windows Server Configuration

I. ASP. NET Core application Configuration

Web. config configuration ( Official Tutorials )

Key Changes Processpath and arguments of two parameters

Processpath modified to Dotnet

Arguments DLL modified to the current project name

Example configuration:

Startup enable iisintegration components

FTP Publishing to IIS

Here I use vs ftp to publish directly to IIS, you can also use the file system to publish to the local, either of the two can be

Second, Windows server configuration

Installation Environment

1. Microsoft Visual C + + redistributable

2.. NET Core Hosting Bundle

at present here the linked version is dotnetcore.2.0.7-windowshosting, can also be in . NET All downloads Choose the corresponding version

Tip: The version is important, the version is important, the version is important

IIS Configuration

The application pool is set to no managed code

Finally, the test is successful.

ASP. NET core deployment to Windows IIS

Related Article

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.