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環境配置教程
為了更好地貫徹執行上級主管部門有關安全依法治校的精神,結合我校學生思想教育的特點,強化學生在校的安全工作,落實學校安全工作責任制,特制定下列責任:一、每日對學生進行晨、午檢,瞭解未到校學生情況,並逐日登記。二、每日 -
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