With ASP.NET Core 1.0 rtm Release , There's a lot about it on the Internet .net core Related articles , I happen to be here today win10 In the environment ASP.NET Core Deployment environment for , Record the process for you .

1. Development and operation environment

1> Visual Studio 2015 Update 3*

2> .NET Core 1.0 for Visual Studio ( Include asp.net core Templates , If there is no one on the machine .net core sdk Will install by default ) Address  https://go.microsoft.com/fwlink/?LinkId=817245

3> .Net Core SDK ( Include .Net Core And cli Command line interface )

2.web The server

1> win10 Next IIS10.0

2> iis I need to Server Hosting  ( Forward the request to Kestrel)

.Net Core SDK And Server Hosting Download address https://www.microsoft.com/net/download, You can also refer to  https://www.microsoft.com/net/core#windows

One .win10 Next release and deployment

First installation NET Core 1.0 for Visual Studio 、server hosting

Install play view .net core sdk Is the command line installed successfully dotnet info

server host Is the installation successful iis The module and handler mapping is shown below

This is in the site deployment completion handler map , If not, it will report an error .

use vs Build a Asp.Net Core The project then publishes or uses the command line dotnet publis, Such as changing project.json There is a dependency package update process .

Then configure the site , The configuration process is the same as the previous version , Point the directory to the location just published, such as F:\test_project\coretest\publishiis

You should configure the pool , Choose unmanaged , There is server host Forward the request .

If the following error occurs , Please check it server hosting Is it in the site handler and module .

Browser open test.netcore.com OK

If you need to use a domain name hosts Hard configuration in the file  127.0.0.1 test.netcore.com

The next one is ubuntu Next jexus Deploy asp.net core

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

win10 Next iis Deploy asp.net core rtm More articles about

  1. ubuntu16.4 Next use jexus Deploy asp.net core rtm

    The last article introduced the next use vs Publish and deploy to iis Environmental Science , Today, let's talk about ubuntu  Deploy asp.net core, No installation required .net core sdk, It comes with runtime deployment , utilize jexus The server forwards the request to asp.net ...

  2. IIS Deploy ASP.Net Core 502.5 Mistakes and solutions

    stay Win7 Deploy on your machine ASP.Net Core Program , Always prompt 502.5 error . Already installed Microsoft Visual C++ 2015 Redistributable .NET Core Win ...

  3. Use iis Deploy asp.net core Pit in

    Use vs2017 establish asp.net core mvc Template sites are then deployed to iis On , If there is always concurrent access , operation iis Rebind domain name operation , The website will hang up , It's no use restarting the application pool , And deployed to iis It's easy to come up with ...

  4. win10 Next vs2015 establish asp,net core Project and run on ubuntu14.04 Next

    As mentioned above .net core The program is in win10 And ubuntu Run under , Using a sample program (https://github.com/aspnet/cli-samples), Use today vs2015 structure asp.net c ...

  5. Linux Next, automated deployment ASP.NET CORE 3.1(Docker+Jenkins+Nginx)

    1. First, configure Docker Aliyun acceleration , You can use alicloud Container Services ( You can apply in alicloud by yourself , Otherwise, it's very slow to install things directly ) Be careful :https://XXXX.mirror.aliyuncs.com Assign addresses to Alibaba cloud accelerator services ...

  6. LINUX Next Jexus Deploy ASP.NET Core WebApi

    The server :LINUX  ubuntu16.04  Development software :VS2015 Update3   dotnet sdk: DotNetCore.1.0.0-VS2015Tools.Preview2   1. ...

  7. IIS Deploy asp.net Core Procedural considerations

    Install the .NET Core Windows Server Hosting bundle Install the.NET Core Runtime Modify the application pool's .net framew ...

  8. Windows + IIS The deployment environment Asp.Net Core App

    Environmental Science :Windows Server 2012, IIS 8, Asp.Net Core 1.1. For the first time, a lot of people are in IIS Deployment in China Asp.Net Core App All of us have problems , It will be found that the original deployment mode cannot be used ...

  9. Windows Server 2008 R2 + IIS The deployment environment Asp.Net Core App

    Windows + IIS The deployment environment Asp.Net Core App   Environmental Science :Windows Server 2012, IIS 8, Asp.Net Core 1.1. For the first time, a lot of people are in IIS Deployment in China A ...

Random recommendation

  1. Black horse programmer ——【Java Basics 】—— object-oriented ( Two ) Exception mechanism 、 package (Package)

    ---------- android train .java train . Looking forward to communicating with you ! ---------- One . Exception mechanism ( One ) Exception Overview 1. abnormal : That is, the program is abnormal when it is running . 2. Exception class : The program is running , The emergence of ...

  2. curl Encapsulation

    First, build a httpserver, Here we use tomcat6 For example : The process : Create a new one Servlet, And use tomcat Default port Number 8080 monitor , Finally, write a jsp To test if you can access the server 1) newly build ...

  3. springBootJpa Complex query

    Pagination /** * Conditions of the query + Pagination * @param whereMap * @param page * @param size * @return */ public Page<CaseManag ...

  4. 152. Maximum Product Subarray Max product subarray / Is it continuous

    [ Copy questions ]: Given an integer array nums, find the contiguous subarray within an array (containing at least ...

  5. Python Function learning —— A preliminary understanding

    Function uses background Suppose the boss asks you to write a monitoring program ,24 Monitor the system status of your company's website server 24 hours a day and throughout the year , When cpu\memory\disk When the usage exceeds the threshold, an email will be sent to the police , You empty out all the knowledge , Write the following ...

  6. [Tensorflow] Cookbook - Neural Network

    In this chapter, we'll cover the following recipes: Implementing Operational Gates Working with Gate ...

  7. Wechat subscription number , Get users openid

    In the background of wechat , Enable server configuration . The server URL Address , To pass the Token Validation of the . private void Auth() { string token = ConfigurationManager.AppSe ...

  8. a section JS control TD The size of the picture in the code

    a section JS control TD The size of the picture in the code <table><tr><td id="otd"><div></div><img ...

  9. Through the website request To response The process of going through

    Foreword when we enter a web address in the browser , such as www.google.cn, The browser will load Baidu's home page . So what's done behind the browser ? To sum up, the general process is like this : (1) The browser itself is a client , When you lose ...

  10. POSIX systemV The difference between shared memory

    POISX There are two ways to share memory : 1. Memory mapped files characteristic : Changes in shared memory can be reflected in files : 2. Shared memory area object characteristic : The change in shared memory is not visible on the file ( In fact, I can't open the file at all ): Both are based on mmap ...