Hello .NET Core 1.0

首先到官網按照步驟安裝SDK

使用dotnet new 命令來初始化一個專案


dotnet restore:還原套件
dotnet build:建置專案
dotnet run:執行專案

打開http://127.0.01:5000就可以看到站台了


dotnet publish: 發佈專案
帶入-output參數可以指發佈的路徑

發佈後的資料夾


使用dotnet命令來執行專案的dll