asp.net Code学习一,vs code跨平台软件操作

1.命令行:

dotnet new -t web 创建web项目   

dotnet  new  restore build pubilsh run test  pack 

dotnet -info /  -h 
dotnet restore //还原包
dotnet run //运行

2.添加contrallor 和view

dotnet命名: dotnet aspnet-codegenerator

http://www.360doc.com/content/16/0809/07/5397376_581825758.shtml