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大學英語作文
在日復一日的學習、工作或生活中,大家都經常接觸到作文吧,寫作文可以鍛鍊我們的獨處習慣,讓自己的心靜下來,思考自己未來的方向。還是對作文一籌莫展嗎?以下是小編收集整理的中秋遐想作文,歡迎閱讀,希望大家能夠喜歡。中秋遐 -
託福英語寫作範文: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