Win10 under ASP.net Core deployment Environment Construction steps _ practical skills

Source: Internet
Author: User
Tags dotnet hosting server hosting

With the release of ASP.net Core 1.0 RTM, there are many related. NET core articles on the web, and just have time to build a asp.net core deployment environment on the WIN10 environment and record the process to everyone.

1. Development of the operating environment

1> Visual Studio 2015 Update 3*

2>. NET core 1.0 for Visual Studio (including the ASP.net core template, where there is no. NET Core SDK installed by default) address https://go.microsoft.com/fwlink/? linkid=817245

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

2.web Server

1> Win10 under IIS10.0

2> requires server Hosting (forwarding request to Kestrel) under IIS

The. Net Core SDK and the Server hosting download address Https://www.microsoft.com/net/download, or refer to Https://www.microsoft.com/net/core#windows

I. Release and deployment under WIN10

First install Net Core 1.0 for Visual Studio, server hosting

Install play view. NET Core SDK install successful command line dotnet info

Server host is installed successfully IIS modules and handler mappings see the following

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

Use vs to build a ASP.net Core project and then publish or dotnet Publis with the command line, where there is a dependency package update process when changing Project.json.

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

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

If the following error occurs, check to see if the server hosting is in the site handler and module.

Browser Open Test.netcore.comOK

If you need to use the domain name in the Hosts file hard solution configuration 127.0.0.1 test.netcore.com

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.