共收到 20 条回复
$ dotnet new Created new C# project in /Users/jason/work/foo. $ dotnet restore log : Restoring packages for /Users/jason/work/foo/project.json... log : Writing lock file to disk. Path: /Users/jason/work/foo/project.lock.json log : /Users/jason/work/foo/project.json log : Restore completed in 799ms. $ dotnet run Project foo (.NETCoreApp,Version=v1.0) will be compiled because expected outputs are missing Compiling foo for .NETCoreApp,Version=v1.0 Compilation succeeded. 0 Warning(s) 0 Error(s) Time elapsed 00:00:01.3745594 Hello World!
ASP.net Core 1.0 Scaffold:
$ npm install -g yo bower grunt-cli gulp generator-aspnet $ yo aspnet
? What type of application do you want to create? Web Application Basic [without Membership and Authorization] ? Which UI framework would you like to use? Bootstrap (3.3.6) ? What's the name of your ASP.NET application?