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