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.