win10下ASP.NET Core部署环境搭建步骤讲解
随着 Core 1.0 rtm的发布,网上有许多相关 core 相关文章,今刚好有时间也在win10环境上搭建下 Core的`部署环境,把过程记录下给大家。
1. 开发运行环境
1> Visual Studio 2015 Update 3*
2> Core 1.0 for Visual Studio (包括 core 模板,其中如果机器上没有 core sdk会默认安装)地址
3> Core SDK (包括 Core 与cli命令行接口)
服务器
1> win10下 IIS10.0
2> iis下需要Server Hosting (转发请求到Kestrel)
Core SDK 与 Server Hosting下载地址,也可以参考
一10下发布与部署
首先安装NET Core 1.0 for Visual Studio 、server hosting
安装玩查看 core sdk是否安装成功命令行dotnet info
server host 是否安装成功iis模块与处理程序映射中查看如下
站点部署完成处理程序映射里有有这个,如没有会报错。
用vs 建立一个 Core 项目然后发布或者用命令行 dotnet publis,其中如更改时有个依赖包更新过程。
然后配置站点,配置过程与之前版本一样,把目录指向刚才发布的位置如 F:test_projectcoretestpublishiis
应该程序池配置,选择无托管,这样有server host转发请求。
如果出现以下错误,请查看下server hosting 是否在站点处理程序与模块内。
浏览器打开 K
如果用域名需要hosts文件里硬解配置
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。
相關文章
-
CentOS上搭建Nginx+Mono运行asp.net环境配置教程
安装步骤:一、获取开源相关程序:1、利用CentOS Linux系统自带的命令安装、升级所需的程序库:sudo -sLANG=Cyum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel li -
The relationship between theory and practice大学英语作文
We all know that books are a source of there are those who think what the book contains must be is stupid to follow the books without any the old saying goes,to believe everything in books is worse -
托福英语写作范文:Examinations exert a pernicious influence on educat
We might marvel at the progress made in every field of study, but the methods of testing a person’s knowledge and ability remain as primitive as ever they were. It really is extraordinary that after -
我的英语演讲稿living at present is my top concern
ladies and gentleman,good evening!it's my great honor to present this speech name is Peace and I am from class 1 of Teaching Chinese as a foreign language. My topic today is "Living at Present is -
Time To Stop Worrying About Invasive Species美文欣赏
Time To Stop Worrying About Invasive Species?You shouldn’t judge a book by its cover. And you shouldn’t judge a species by its place of origin. So say ecologists in a commentary in the joual Nature. -
六年级英语上册Unit2 New York is in the east of America说课稿
学习任务Where is New York?It’s here in the east.Canada is north of America and Mexico is south of America.功能:讲述某地的地理位置和相关的基本信息.运用任务:1. 热身复习老师出示一张中国地图进行介绍:“This i -
分享SAT阅读练习题:Reading Comprehension Test 14
SAT阅读练习题:Reading Comprehension Test 14Much of what goes by the name of pleasure is simply an effort to destroy consciousness. If one started by asking, what is man? what are his needs? how can he -
Diaspora Finance Powers Global Development美文欣赏
Diaspora Finance Powers Global DevelopmentLuis Lopez-Ramirez, a 30-year old Honduran immigrant, makes pizza.He has worked two jobs over 16 hours each day.He carefully saves his money and rents a small -
MS SQL Server Management Studio Express安装图文具体步骤
Microsoft sql server Management Studio Express (SSMSE) 是一种免费、易用的图形管理工具,用于管理 SQL Server 2005 Express Edition 和具有高级服务的 SQL Server 2005 Express Edition。SSMSE 还可以管理任何版本 -
四级作文:Create a Conservation-Oriented Campus
四级作文:Create a Conservation-Oriented Campus,四级作文:Create a Conservation-Oriented Campus范文,免费提供给大家交流参考! Create a Conservation-Oriented Campus1.建设节约型校园十分重要2.原因是…&he