WIN10 under IIS deploying ASP. NET Core RTM

Source: Internet
Author: User
Tags dotnet hosting server hosting

With the launch of ASP. NET Core 1.0 RTM, there are a lot of relevant articles on the Internet, and it is time to build the environment of ASP. WIN10 environment, and record the process to everyone.

1. Development of the operating environment

1> Visual Studio Update *

2>. NET core 1.0 for Visual Studio, including the ASP. NET core template, where the address Https://go.microsoft.com/fwlink/?L is not installed on the machine without the. inkid=817245

3>. NET core SDK (including. NET Core and CLI command-line interfaces)

2.web Server

1> Win10 under IIS10.0

2> Server Hosting required under IIS (forward request to Kestrel)

The. Net Core SDK and Server Hostinghttps://www.microsoft.com/net/download can also refer to the Https://www.microsoft.com/net/core#windows

I. Release and deployment under WIN10

First install the Net Core 1.0 for Visual Studio, server hosting

Install play see if the. NET Core SDK is installed successfully command line dotnet info

The server host is installed successfully in the IIS module and the handler mappings are viewed as follows

Site Deployment Completion Handler mappings There is this, if there is no error.

Use VS to build an ASP. NET Core project and then publish or use the command line dotnet Publis, where there is a dependent package update process for changing Project.json.

Then configure the site, the same as the previous version, the directory points to the location just published, such as F:\test_project\coretest\publishiis

Should the program pool be configured, select unmanaged so that there is a server host forwarding request.

If the following error occurs, check whether the following server hosting is inside the site handler and module.

Browser opens test.netcore.com OK

If the domain name requires the Hosts file in the hard solution configuration 127.0.0.1 test.netcore.com

Next jexus deploying ASP. NET Core under Ubuntu

Original address: http://www.cnblogs.com/Dream618/p/5618787.html

WIN10 under IIS deploying ASP. NET Core RTM

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.