Deploy asp.net core rtm and win10rtm in iis In win10

Source: Internet
Author: User
Tags dotnet server hosting

Deploy asp.net core rtm and win10rtm in iis In win10

With ASP. NET Core 1.0 rtm is released, and there are many issues online. net core related articles. Now we have time to build ASP in the win10 environment.. NET Core deployment environment.

1. Development and running environment

1> Visual Studio 2015 Update 3 *

2>. NET Core 1.0 for Visual Studio (including asp.net core templates where no. net core sdk will be installed by default on the machine) Address https://go.microsoft.com/fwlink? LinkId = 817245

3>. Net Core SDK (including. Net Core and cli command line interface)

2. web Server

1> IIS10.0 in win10

2> Server Hosting is required in iis (forward requests to Kestrel)

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

 

I. Release and deployment in win10

First install NET Core 1.0 for Visual Studio, server hosting

 

 

Run the following command to check whether the. net core sdk is successfully installed: dotnet info

Check whether the iis module and the Handler are successfully installed on the server host.

This exists in the ing of the processing program after the site is deployed. If no error is reported.

 

 

Create an Asp. Net Core project with vs and then publish or use the command line dotnet publis. For example, if you change project. json, there is a dependency package update process.

 

 

 

Then configure the site. The configuration process is the same as that of the previous version. Point the directory to the position just released, for example, F: \ test_project \ coretest \ publishiis.

Configure the program pool and select "unmanaged". In this way, the server host will forward the request.

 

If the following error occurs, check whether the server hosting is in the site processing program and module.

 

 

Open test.netcore.com in the browser

 

 

If you want to use a domain name, configure 127.0.0.1 test.netcore.com In the hosts file.

Next deploy asp.net core in jexus under ubuntu

Address: http://www.cnblogs.com/Dream618/p/5618787.html

 

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.